Update startup.sh

修改LIB_JARS变量,使其末尾不再有多余冒号(:)
master
tianyl1984 7 years ago committed by GitHub
parent aea4b428c2
commit afc463240b
  1. 2
      proxy-server/src/main/resources/startup.sh

@ -21,7 +21,7 @@ STDOUT_FILE=$LOGS_DIR/stdout.log
CLOG_FILE=$LOGS_DIR/gc.log
LIB_DIR=$DEPLOY_DIR/lib
LIB_JARS=`ls $LIB_DIR|grep .jar|awk '{print "'$LIB_DIR'/"$0}'|tr "\n" ":"`
LIB_JARS=`ls $LIB_DIR|grep .jar|awk '{print "'$LIB_DIR'/"$0}'| xargs | sed "s/ /:/g"`
JAVA_OPTS=" -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
JAVA_DEBUG_OPTS=""

Loading…
Cancel
Save