Clean up scripts/ by moving helper tools into lib/.

(imported from commit 31a99d5cc68524a1399daa50eb1fcda54383a317)
This commit is contained in:
Tim Abbott 2013-11-14 08:25:34 -05:00
parent 9a0ddb644d
commit f9707dd903
3 changed files with 2 additions and 2 deletions

View File

@ -45,12 +45,12 @@ if not got_lock:
logging.info("Unpacking the tarball")
deploy_path = subprocess.check_output([os.path.join(os.path.dirname(__file__),
'..', 'unpack-zulip'),
'unpack-zulip'),
tarball_path], preexec_fn=su_to_zulip)
deploy_path = deploy_path.strip()
os.chdir(deploy_path)
subprocess.check_call(["./scripts/upgrade-zulip-stage-2", deploy_path])
subprocess.check_call(["./scripts/lib/upgrade-zulip-stage-2", deploy_path])
logging.info("Deployment complete")
shutil.rmtree(LOCK_DIR)