From 700b2357c8970061004ae998bca83547924e54a9 Mon Sep 17 00:00:00 2001 From: z00848344 Date: Thu, 26 Sep 2024 18:50:11 +0800 Subject: [PATCH] On branch upgrade-tmpDir Your branch is up to date with 'origin/upgrade-tmpDir'. Changes to be committed: modified: script/local/UpgradeUtility.py --- script/local/UpgradeUtility.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/script/local/UpgradeUtility.py b/script/local/UpgradeUtility.py index 6c74b9b..13ece1a 100644 --- a/script/local/UpgradeUtility.py +++ b/script/local/UpgradeUtility.py @@ -2313,8 +2313,7 @@ def cleanInstallPath(): if commit_id: dss_app = os.path.realpath( os.path.join(os.path.dirname(installPath), f'dss_app_{commit_id}')) - tmp_path = os.path.realpath(os.path.join(os.path.dirname(installPath), 'tmp')) - cmd = "(if [ -d '%s' ]; then mv '%s' %s; fi)" % (dss_app, dss_app, tmp_path) + cmd = "(if [ -d '%s' ]; then mv '%s' %s; fi)" % (dss_app, dss_app, tmpDir) g_logger.debug("Command for cleaning install path: %s." % cmd) CmdExecutor.execCommandLocally(cmd)