Lines Matching defs:os
10 import sys, os, subprocess, re, hashlib
50 for filename in os.listdir(args_src):
92 if not (os.path.exists(args_dst_packages + greatestVersion)):
93 os.link(args_src + greatestVersion, args_dst_packages + greatestVersion)
99 if os.path.exists(args_src + srcpkg):
100 if not os.path.exists(args_dst_packages + srcpkg):
101 os.link(args_src + srcpkg, args_dst_packages + srcpkg)
115 os.mkdir(args_dst + listhash)
121 os.symlink('../packages', repodir + 'packages')
134 if os.system('cd ' + repodir + ' && package_repo create repo.info ' + " ".join(packageFiles)) != 0:
138 if os.system('cd ' + repodir + ' && sha256sum repo >repo.sha256') != 0: