chiark
/
gitweb
/
~cjwatson
/
bin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no longer used since migration to Soyuz
[bin.git]
/
locale-exists
diff --git
a/locale-exists
b/locale-exists
index 05c7e5be7b113e5cef5b4fc2ab0be11a35c045e4..1c021075420acfaf095153ab75761c6ea440a713 100755
(executable)
--- 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 -
l
e 'exit 1 unless setlocale(LANG, "")'
+PERL_BADLANG=0 perl -MPOSIX -e 'exit 1 unless setlocale(LANG, "")'