diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | etckeeper | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 1f76b65..47012d0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ etckeeper (1.18) UNRELEASED; urgency=medium * Send yum pre-commit output to /dev/null Thanks, Andrew Colin Kissa + * Set LANG=C internally when doing some operations that have + been reported to fail in other locales. -- Joey Hess <id@joeyh.name> Tue, 17 Feb 2015 20:56:01 -0400 @@ -79,7 +79,7 @@ elif [ "$command" = "pre-apt" ]; then command=pre-install fi -if echo "$command" | egrep -q '[^-a-z_]'; then +if echo "$command" | LANG=C egrep -q '[^-a-z_]'; then echo "etckeeper: invalid command $command" >&2 exit 1 fi @@ -121,7 +121,7 @@ fi export VCS lsscripts() { - perl -e ' + LANG=C perl -e ' $dir=shift; print join "\n", grep { ! -d $_ && -x $_ } grep /^\Q$dir\/\E[-a-zA-Z0-9]+$/, |