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

96e42b8e81 broke this when it split out the steps to reset the
upstream.
This commit is contained in:
Alex Vandiver 2023-04-24 21:16:48 +00:00 committed by Tim Abbott
parent 7c9677becd
commit 63e31a6de4
1 changed files with 4 additions and 1 deletions

View File

@ -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: