From f9707dd90371c79eb73c056e0a941ef637e5058b Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Thu, 14 Nov 2013 08:25:34 -0500 Subject: [PATCH] Clean up scripts/ by moving helper tools into lib/. (imported from commit 31a99d5cc68524a1399daa50eb1fcda54383a317) --- scripts/{ => lib}/unpack-zulip | 0 scripts/lib/upgrade-zulip | 4 ++-- scripts/{ => lib}/upgrade-zulip-stage-2 | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{ => lib}/unpack-zulip (100%) rename scripts/{ => lib}/upgrade-zulip-stage-2 (100%) diff --git a/scripts/unpack-zulip b/scripts/lib/unpack-zulip similarity index 100% rename from scripts/unpack-zulip rename to scripts/lib/unpack-zulip diff --git a/scripts/lib/upgrade-zulip b/scripts/lib/upgrade-zulip index bef4c8de8b..cf32193a62 100755 --- a/scripts/lib/upgrade-zulip +++ b/scripts/lib/upgrade-zulip @@ -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) diff --git a/scripts/upgrade-zulip-stage-2 b/scripts/lib/upgrade-zulip-stage-2 similarity index 100% rename from scripts/upgrade-zulip-stage-2 rename to scripts/lib/upgrade-zulip-stage-2