mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-27 00:38:27 +00:00
Fixes missing spaces in version checking to prevent error message when starting the server
This commit is contained in:
parent
8fec5249a9
commit
6111c04e0d
@ -41,7 +41,7 @@ touch arkversion # If the file doesn't exist
|
|||||||
instver=`cat "arkversion"`
|
instver=`cat "arkversion"`
|
||||||
bnumber=`$steamcmdroot/$steamcmdexec +login anonymous +app_info_print "$appid" +quit | grep -EA 5 "^\s+\"public\"$" | grep -E "^\s+\"buildid\"\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -f3 | sed 's/^ //' | cut -c9-14`
|
bnumber=`$steamcmdroot/$steamcmdexec +login anonymous +app_info_print "$appid" +quit | grep -EA 5 "^\s+\"public\"$" | grep -E "^\s+\"buildid\"\s+" | tr '[:blank:]"' ' ' | tr -s ' ' | cut -f3 | sed 's/^ //' | cut -c9-14`
|
||||||
|
|
||||||
if ["$bnumber" = "$instver"]; then
|
if [ "$bnumber" = "$instver" ]; then
|
||||||
patch=0
|
patch=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user