From a3f6f6dd8173aaf3e24887e3cd9a66c85a1854fe Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 3 Aug 2015 21:23:10 +0300 Subject: Set LANG variable to C in all scripts. --- git.sh | 2 ++ init.sh | 2 ++ pull.sh | 2 ++ push.sh | 2 ++ status.sh | 2 ++ upgrade.sh | 2 ++ 6 files changed, 12 insertions(+) diff --git a/git.sh b/git.sh index ee73918..5a2a5d7 100755 --- a/git.sh +++ b/git.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + function status { if [ ! -d "$1" ]; then return diff --git a/init.sh b/init.sh index c84d6d4..7a47dec 100755 --- a/init.sh +++ b/init.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + CMD="$1" PROTO="git@gitlab.com:" if [[ -z "${CMD}" ]]; then diff --git a/pull.sh b/pull.sh index ff32c38..93a49d6 100755 --- a/pull.sh +++ b/pull.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + function status { if [ ! -d "$1" ]; then return diff --git a/push.sh b/push.sh index 74f2f1d..bcf61df 100755 --- a/push.sh +++ b/push.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + function status { if [ ! -d "$1" ]; then return diff --git a/status.sh b/status.sh index eadce37..b134fcb 100755 --- a/status.sh +++ b/status.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + function status { if [ ! -d "$1" ]; then return diff --git a/upgrade.sh b/upgrade.sh index bbf669f..efed4d8 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LANG=C + function status { if [ ! -d "$1" ]; then return -- cgit v1.2.3-60-g2f50