Skip to content

Commit

Permalink
Update startup.sh
Browse files Browse the repository at this point in the history
修改LIB_JARS变量,使其末尾不再有多余冒号(:)
  • Loading branch information
tianyl1984 authored Sep 11, 2017
1 parent aea4b42 commit afc4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy-server/src/main/resources/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=""
Expand Down

0 comments on commit afc4632

Please sign in to comment.