From: Rudolf Polzer Date: Wed, 22 Dec 2010 20:44:10 +0000 (+0100) Subject: workaround for broken /bin/sh on failbuntu X-Git-Tag: xonotic-v0.1.0preview~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a7ce8c8ff1b437d9167ca1c550ca6393d5eb0642;p=xonotic%2Fxonotic.git workaround for broken /bin/sh on failbuntu --- diff --git a/all b/all index fd009d9c..ccb522ff 100755 --- a/all +++ b/all @@ -1737,8 +1737,8 @@ case "$cmd" in verbose rm -rf qcsrc gv=`grep "^gameversion " "defaultXonotic.cfg" | awk '{ print $2 }'` major=$(($gv / 10000)) - minor=$(($gv / 100 - $major * 100)) - patch=$(($gv - $major * 10000 - $minor * 100)) + minor=$((($gv / 100) - ($major * 100))) + patch=$(($gv - ($major * 10000) - ($minor * 100))) versionstr="$major.$minor.$patch" case "$RELEASETYPE" in release)