From a7ce8c8ff1b437d9167ca1c550ca6393d5eb0642 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Wed, 22 Dec 2010 21:44:10 +0100 Subject: [PATCH] workaround for broken /bin/sh on failbuntu --- all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2