Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

upgrade-zulip-from-git: CWD will be the cache directory.

Alex Vandiver63e31a6de47a
diff --git a/scripts/lib/upgrade-zulip-from-git b/scripts/lib/upgrade-zulip-from-git
index 48bd8527a48..4fa8a440616 100755
--- a/scripts/lib/upgrade-zulip-from-git
+++ b/scripts/lib/upgrade-zulip-from-git
@@ -16,6 +16,7 @@ from scripts.lib.zulip_tools import (
get_config,
get_config_file,
get_deploy_options,
+ get_deploy_root,
get_deployment_lock,
make_deploy_path,
overwrite_symlink,
@@ -133,7 +134,9 @@ try:
preexec_fn=su_to_zulip,
)
- subprocess.check_call(["./scripts/lib/update-git-upstream"], preexec_fn=su_to_zulip)
+ subprocess.check_call(
+ [os.path.join(get_deploy_root(), "scripts/lib/update-git-upstream")], preexec_fn=su_to_zulip
+ )
# Generate the deployment directory via git worktree from our local repository.
try: