Home | History | Annotate | Download | only in build

Lines Matching full:targetdir

101     targetDir = argv[1]
116 targetDir = os.path.abspath(targetDir)
121 if targetDir in line:
127 if os.path.exists(targetDir + '/' + UMOUNT_FILE):
135 os.system("mkdir -p " + targetDir)
136 mountf = open(targetDir + '/' + MOUNT_FILE, 'w+')
138 umountf = open(targetDir + '/' + UMOUNT_FILE, 'w+')
141 os.system("mkdir -p " + targetDir + '/' + subdir)
142 mountf.write("mount --bind " + sourceDir + "/" + subdir + " " + targetDir + "/" + subdir + \
144 umountf.write("umount " + targetDir + "/" + subdir + "\n")
146 create_symbolic_link(sourceDir, targetDir, file_name)
149 os.system("chmod 700 " + targetDir + '/' + MOUNT_FILE)
150 os.system("chmod 700 " + targetDir + '/' + UMOUNT_FILE)