Home | History | Annotate | Download | only in build

Lines Matching refs:targetDir

102     targetDir = argv[1]
117 targetDir = os.path.abspath(targetDir)
122 if targetDir in line:
128 if os.path.exists(targetDir + '/' + UMOUNT_FILE):
136 os.system("mkdir -p " + targetDir)
137 mountf = open(targetDir + '/' + MOUNT_FILE, 'w+')
139 umountf = open(targetDir + '/' + UMOUNT_FILE, 'w+')
142 os.system("mkdir -p " + targetDir + '/' + subdir)
143 mountf.write("mount --bind " + sourceDir + "/" + subdir + " " + targetDir + "/" + subdir + \
145 umountf.write("umount " + targetDir + "/" + subdir + "\n")
147 create_symbolic_link(sourceDir, targetDir, file_name)
150 os.system("chmod 700 " + targetDir + '/' + MOUNT_FILE)
151 os.system("chmod 700 " + targetDir + '/' + UMOUNT_FILE)