purge_old_deployments: Fix running from any path.

This commit is contained in:
Tim Abbott
2017-09-24 04:42:06 -07:00
parent 57161a92a1
commit 7e7b80f5e8

View File

@@ -68,7 +68,7 @@ def main():
print("Cleaning orphaned/unused caches...")
# Call 'clean-unused-caches' script to clean any orphaned/unused caches.
subprocess.check_call(["./scripts/clean-unused-caches"] + sys.argv[1:])
subprocess.check_call([os.path.join(ZULIP_PATH, "scripts/clean-unused-caches")] + sys.argv[1:])
print("Done!\n")
if __name__ == "__main__":