index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/build-master-status | 4 | ||||
-rwxr-xr-x | conf/default.conf | 1 |
diff --git a/bin/build-master-status b/bin/build-master-status index 62ffd9a..61eef0d 100755 --- a/bin/build-master-status +++ b/bin/build-master-status @@ -26,8 +26,8 @@ printf 'The build list contains %d tasks (incl. broken: %d).\n' "$[${tasks}-${br printf 'There are %d testing/staging packages.\n' "${staging}" printf 'There are %d broken packages.\n' "${broken}" if [ $[${broken}+${staging}] -ne 0 ]; then - LANG=C printf '%.1f%% of all packages are broken.\n' "$(bc <<< "scale=10; 100*${broken}/(${broken}+${staging})")" + printf '%.1f%% of all packages are broken.\n' "$(bc <<< "scale=10; 100*${broken}/(${broken}+${staging})")" fi if [ $[${staging}+${tasks}-${broken}] -ne 0 ]; then - LANG=C printf '%.1f%% of the planned work has been done.\n' "$(bc <<< "scale=10; 100*${staging}/(${staging}+${tasks}-${broken})")" + printf '%.1f%% of the planned work has been done.\n' "$(bc <<< "scale=10; 100*${staging}/(${staging}+${tasks}-${broken})")" fi diff --git a/conf/default.conf b/conf/default.conf index 60cf53c..de0ab65 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -3,6 +3,7 @@ # set up some common variables set -e +export LANG=C # dirty hack to get this stuff debugable from a bash if [ "x$0" == "x-bash" ] || [ "x$0" == "xbash" ]; then |