Skip to content

Commit

Permalink
Update startup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorqin authored Dec 1, 2024
1 parent 2b9e40d commit aa24508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/bin/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fi
export BASE_DIR=`cd $(dirname $0)/..; pwd`

SERVER="reader"
NEWEST_JAR=$(ls $BASE_DIR/target | grep -EO 'reader.*\.jar' | sort -nr | head -1)
NEWEST_JAR=$(ls $BASE_DIR/target | grep -Eo 'reader.*\.jar' | sort -nr | head -1)
if [ -n "$NEWEST_JAR" ]; then
SERVER=${NEWEST_JAR/.jar/}
fi
Expand Down

0 comments on commit aa24508

Please sign in to comment.