Skip to content

Commit

Permalink
latest first.
Browse files Browse the repository at this point in the history
  • Loading branch information
limboinf committed Sep 23, 2022
1 parent 40d8170 commit 33a798e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frostmourne-monitor/src/assembly/scripts/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ fi

cd `dirname $0`/..

for i in `ls $SERVICE_NAME-*.jar 2>/dev/null`
for i in `ls -t $SERVICE_NAME-*.jar 2>/dev/null`
do
if [[ ! $i == *"-sources.jar" ]]
then
Expand All @@ -67,7 +67,7 @@ done

if [[ ! -f PATH_TO_JAR && -d current ]]; then
cd current
for i in `ls $SERVICE_NAME-*.jar 2>/dev/null`
for i in `ls -t $SERVICE_NAME-*.jar 2>/dev/null`
do
if [[ ! $i == *"-sources.jar" ]]
then
Expand Down

0 comments on commit 33a798e

Please sign in to comment.