summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-09-27 02:46:50 -0400
committerMike Frysinger <vapier@gentoo.org>2021-09-27 02:46:50 -0400
commit7e275ec9547798e204126fd7e4ca80a1d086cfec (patch)
treeb206174871de828a6ebf09664d13a8e56d0e7f7d
parentswitch from tr to bash builtin ${var,,} (diff)
downloadlocale-gen-7e275ec9547798e204126fd7e4ca80a1d086cfec.tar.gz
locale-gen-7e275ec9547798e204126fd7e4ca80a1d086cfec.tar.bz2
locale-gen-7e275ec9547798e204126fd7e4ca80a1d086cfec.zip
document bash version requirementslocale-gen-2.22
With bash-4.0 released in 2009, should be plenty of time to use its features. Especially with Gentoo requiring newer already. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rwxr-xr-xlocale-gen4
1 files changed, 3 insertions, 1 deletions
diff --git a/locale-gen b/locale-gen
index 9759daa..8d27202 100755
--- a/locale-gen
+++ b/locale-gen
@@ -1,9 +1,11 @@
#!/bin/bash
#
-# Based upon Debian's locale-gen, fetched from glibc_2.3.6-7.diff.gz
+# Based upon Debian's locale-gen, fetched from glibc_2.3.6-7.diff.gz, but completely rewritten.
#
+# NB: Bash-4.0+ required. We use += and ${var,,} features.
+
unset POSIXLY_CORRECT IFS
umask 0022