mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-16 07:10:48 +00:00
fixed compareServers script; leaderboard group names with , caused error
This commit is contained in:
1 parent
e9551feba5
commit
40ed796eb2
1 file changed
+2
-2
@@ -35,8 +35,8 @@ NEWGROUPS_FOR_CONTINUE=${NEWGROUPS}.continue
|
||||
|
||||
# If we continue, don't download again
|
||||
if [ "$continue" != "1" ]; then
|
||||
wget $WGET_QUIET -O - ${OLDSERVER}/sailingserver/api/v1/leaderboardgroups | sed -e 's/,/\n/g' -e 's/\[/\n/' -e 's/\]/\n/' -e 's/\"//g' | grep -v "^$" | sort >$OLDGROUPS
|
||||
wget $WGET_QUIET -O - ${NEWSERVER}/sailingserver/api/v1/leaderboardgroups | sed -e 's/,/\n/g' -e 's/\[/\n/' -e 's/\]/\n/' -e 's/\"//g' | grep -v "^$" | sort >$NEWGROUPS
|
||||
wget $WGET_QUIET -O - ${OLDSERVER}/sailingserver/api/v1/leaderboardgroups | sed -e 's/\",\"/\n/g' -e 's/\[/\n/' -e 's/\]/\n/' -e 's/\"//g' | grep -v "^$" | sort >$OLDGROUPS
|
||||
wget $WGET_QUIET -O - ${NEWSERVER}/sailingserver/api/v1/leaderboardgroups | sed -e 's/\",\"/\n/g' -e 's/\[/\n/' -e 's/\]/\n/' -e 's/\"//g' | grep -v "^$" | sort >$NEWGROUPS
|
||||
fi
|
||||
|
||||
download_and_fix_boatclasses () {
|
||||
|
||||
Reference in new issue
Block a user