mirror of https://github.com/zulip/zulip.git
Fix permissions issues with upgrade-zulip from /root path.
(imported from commit b7fce92ac1b7317388debaae2bc3270fe3ae155e)
This commit is contained in:
parent
f59fb53662
commit
3665a0e289
|
@ -44,8 +44,8 @@ if not got_lock:
|
|||
sys.exit(1)
|
||||
|
||||
logging.info("Unpacking the tarball")
|
||||
deploy_path = subprocess.check_output([os.path.join(os.path.dirname(__file__),
|
||||
'unpack-zulip'),
|
||||
deploy_path = subprocess.check_output([os.path.realpath(os.path.join(os.path.dirname(__file__),
|
||||
'unpack-zulip')),
|
||||
tarball_path], preexec_fn=su_to_zulip)
|
||||
deploy_path = deploy_path.strip()
|
||||
os.chdir(deploy_path)
|
||||
|
|
Loading…
Reference in New Issue