chiark
/
gitweb
/
~cjwatson
/
bin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
056369c
)
Remove unnecessary -l flag.
author
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Thu, 10 Mar 2005 16:28:11 +0000
(16:28 +0000)
committer
Colin Watson
<cjwatson@chiark.greenend.org.uk>
Thu, 10 Mar 2005 16:28:11 +0000
(16:28 +0000)
locale-exists
patch
|
blob
|
history
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, "")'