From 124eea3dfbaa3042f99d36ba4693b09e6edd8f77 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Sat, 17 Jun 2023 11:19:10 +0800 Subject: [PATCH] Optimize setup shell for acl-master. --- dist/master/setup.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dist/master/setup.sh b/dist/master/setup.sh index 9722eb02b..d17b4e7ea 100755 --- a/dist/master/setup.sh +++ b/dist/master/setup.sh @@ -114,20 +114,21 @@ install_file() } ############################################################################### -INSTALL_PATH= +INSTALL_PATH=/opt/soft/acl-master if [ $# -lt 1 ] then # echo "parameter not enougth($#)" - echo "usage:$0 install_path" - exit 1 +# echo "usage:$0 install_path" + echo "Using the default path: $INSTALL_PATH" fi if [ $# -eq 2 ] then PREFIX_PATH=$1 INSTALL_PATH=$2 -else +elif [ $# -gt 2 ] +then INSTALL_PATH=$1 PREFIX_PATH= fi