mirror of https://github.com/n1nj4sec/pupy.git
Use proper CWD during build-docker
This commit is contained in:
parent
3a766e247a
commit
3c2d00f0a6
|
@ -69,14 +69,13 @@ def main():
|
|||
|
||||
if not args.do_not_compile_templates:
|
||||
print "[+] Compile common templates"
|
||||
os.chdir(os.path.join(args.pupy_git_folder, 'client'))
|
||||
env = os.environ.copy()
|
||||
if args.docker_repo:
|
||||
env['REPO'] = args.docker_repo
|
||||
|
||||
subprocess.check_call([
|
||||
'./build-docker.sh'
|
||||
], env=env, cwd=pupy)
|
||||
os.path.join(args.pupy_git_folder, 'client', 'build-docker.sh')
|
||||
], env=env, cwd=os.path.join(args.pupy_git_folder, 'client'))
|
||||
|
||||
print "[+] Create VirtualEnv environment"
|
||||
|
||||
|
|
Loading…
Reference in New Issue