X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=blobdiff_plain;f=locale-exists;h=1c021075420acfaf095153ab75761c6ea440a713;hp=05c7e5be7b113e5cef5b4fc2ab0be11a35c045e4;hb=2adf11af91685c88f66ab5464b5ed5398e2b5d50;hpb=4bfde69a6dc7950a56b109e92e93b2f82447fc90 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, "")'