You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn_print_dots "Checking local build: ${remotelocation}"
19
-
# Uses log file to get local build.
20
-
localbuild=$(grep "= Multi Theft Auto: San Andreas v""${serverfiles}/mods/deathmatch/logs/server.log"| awk '{ print $7 }'| sed -r 's/^.{1}//'| tail -1)
20
+
# Uses executable to get local build.
21
+
if [ -d"${executabledir}" ];then
22
+
cd"${executabledir}"||exit
23
+
localbuild=$(${executable} -v 2> /dev/null)
24
+
fi
21
25
if [ -z"${localbuild}" ];then
22
26
fn_print_error "Checking local build: ${remotelocation}: missing local build info"
0 commit comments