]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
guard release building against bad locales
authorRudolf Polzer <divVerent@xonotic.org>
Mon, 18 Apr 2011 16:39:48 +0000 (18:39 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Mon, 18 Apr 2011 16:39:48 +0000 (18:39 +0200)
all

diff --git a/all b/all
index 1685f3620fbcde9ff72c8d0e170021ed3be34e8a..8ee6f3dccfe59e403bfab9fd06e67b11da05fc64 100755 (executable)
--- a/all
+++ b/all
@@ -267,6 +267,12 @@ fi
 cmd=$1
 shift
 
+case "$cmd" in
+       release-*)
+               export LC_ALL=C
+               ;;
+esac
+
 fix_upstream_rebase()
 {
        if [ -z "$r_me" ] || [ -z "$r_other" ]; then
@@ -1602,7 +1608,7 @@ case "$cmd" in
                                *)
                                        verbose rsync --delete -zLvaSHP "$srcdir"/ "$host:$buildpath/"
                                        verbose rsync --delete -zLvaSHP "$depsdir"/ "$host:$buildpath.deps/"
-                                       verbose ssh "$host" "ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
+                                       verbose ssh "$host" "export LC_ALL=C; ln -snf $buildpath.deps $buildpath/.deps && cd $buildpath && nice -`nice` make clean $maketargets $makeflags"
                                        for f in $targetfiles; do
                                                verbose rsync -zvaSHP "$host:$buildpath/${f%:*}" "${f##*:}" || true
                                        done