index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-02 14:00:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-02 14:00:17 +0200 |
commit | de8e004cdefb9f908c72bef3f19635a7e7708aae (patch) | |
tree | a591bb318ccc2df641faa269ffe327b9a0e4c50b | |
parent | 2fd26ea12eca52c3724e16688d811195072821ea (diff) |
-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 |