X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=blobdiff_plain;f=locale-exists;h=1c021075420acfaf095153ab75761c6ea440a713;hb=66785e5dcef209c1b0890c169a11dc0a9e241728;hp=05c7e5be7b113e5cef5b4fc2ab0be11a35c045e4;hpb=4bfde69a6dc7950a56b109e92e93b2f82447fc90;p=bin.git diff --git a/locale-exists b/locale-exists index 05c7e5b..1c02107 100755 --- a/locale-exists +++ b/locale-exists @@ -5,4 +5,4 @@ set -e # arguments. Exits zero if the given locale exists, and non-zero otherwise. [ "$1" ] && export LANG="$1" -PERL_BADLANG=0 perl -MPOSIX -le 'exit 1 unless setlocale(LANG, "")' +PERL_BADLANG=0 perl -MPOSIX -e 'exit 1 unless setlocale(LANG, "")'