From aa24508fa73bca60b509813071f6c460b0591e78 Mon Sep 17 00:00:00 2001 From: hectorqin <14220132+hectorqin@users.noreply.github.com> Date: Sun, 1 Dec 2024 16:54:04 +0800 Subject: [PATCH] Update startup.sh --- server/bin/startup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bin/startup.sh b/server/bin/startup.sh index 228ffadb..d4f51dfc 100755 --- a/server/bin/startup.sh +++ b/server/bin/startup.sh @@ -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