mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
purge_old_deployments: Fix running from any path.
This commit is contained in:
@@ -68,7 +68,7 @@ def main():
|
|||||||
print("Cleaning orphaned/unused caches...")
|
print("Cleaning orphaned/unused caches...")
|
||||||
|
|
||||||
# Call 'clean-unused-caches' script to clean any 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")
|
print("Done!\n")
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|||||||
Reference in New Issue
Block a user