You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by zt...@apache.org on 2021/11/18 01:51:42 UTC
[hawq] 01/02: HAWQ-1814. handle multiple dir in upgrade script
This is an automated email from the ASF dual-hosted git repository.
ztao1987 pushed a commit to branch ztao
in repository https://gitbox.apache.org/repos/asf/hawq.git
commit 6c7c752c083dc175c73b8d4dba9f07e2c8a43736
Author: ztao1987 <zh...@gmail.com>
AuthorDate: Thu Nov 18 09:34:13 2021 +0800
HAWQ-1814. handle multiple dir in upgrade script
---
tools/bin/upgrade.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/bin/upgrade.sh b/tools/bin/upgrade.sh
index 8452d57..90e77ea 100755
--- a/tools/bin/upgrade.sh
+++ b/tools/bin/upgrade.sh
@@ -102,7 +102,7 @@ SEGMENT_HOSTS=`cat $GPHOME/etc/slaves`
OPTIONS='-c gp_maintenance_conn=true'
# check whether all tmp dir exsits
-ls $MASTER_TEMP_DIR
+echo $MASTER_TEMP_DIR | sed "s/,/ /g" | xargs ls
check_error "check master and segment temp dir on master"
# check whether all segments replaced with new binary