]> git.pld-linux.org Git - packages/asterisk-sounds-core.git/commitdiff
- libmagic utf-8 bug workaround improved
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 12 Jan 2010 12:06:46 +0000 (12:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk-sounds-core.spec -> 1.3

asterisk-sounds-core.spec

index 6098df32e128008fbc12a51e601330658ba5b730..218c31cf29a06dfd9df7f9dd75ffd96ba48b9932 100644 (file)
@@ -368,8 +368,9 @@ Core French WAV sound files for Asterisk.
 
 if [ -f /proc/$PPID/environ ]; then
        # import env from parent process
+       unset LC_ALL
        export $(tr '\0' '\n' < /proc/$PPID/environ | grep -E '^(LC_|LANG)')
-       if locale | grep -qi utf8; then
+       if locale | grep -Eqi 'utf-?8'; then
                echo >&2 "You should re-run rpmbuild with LANG=C LC_ALL=C, see https://bugs.launchpad.net/pld-linux/+bug/501593"
                exit 1
        fi
This page took 0.071174 seconds and 4 git commands to generate.