mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	Run upgrade-zulip-stage-2 from an absolute path.
This should make it more obvious in tracebacks that we are running the script from the version of Zulip we're upgrading to, not the old version.
This commit is contained in:
		@@ -55,7 +55,7 @@ try:
 | 
			
		||||
    # version is much better for fixing bugs in the upgrade process).
 | 
			
		||||
    deploy_path = deploy_path.strip()
 | 
			
		||||
    os.chdir(deploy_path)
 | 
			
		||||
    subprocess.check_call(["./scripts/lib/upgrade-zulip-stage-2", deploy_path])
 | 
			
		||||
    subprocess.check_call([os.path.abspath("./scripts/lib/upgrade-zulip-stage-2"), deploy_path])
 | 
			
		||||
 | 
			
		||||
    logging.info("Deployment complete")
 | 
			
		||||
finally:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user