* tzselect.ksh (translit): Use ‘:’, not ‘true’, so as to not
depend on having ‘true’.
---
tzselect.ksh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tzselect.ksh b/tzselect.ksh
index ca3d82c6..7cd8679d 100644
--- a/tzselect.ksh
+++ b/tzselect.ksh
@@ -161,15 +161,15 @@ case $# in
*) say >&2 "$0: $1: unknown argument"; exit 1
esac
-# translit=true to try transliteration.
+# translit=: to try transliteration.
# This is false if U+12345 CUNEIFORM SIGN URU TIMES KI has length 1
# which means the shell and (presumably) awk do not need transliteration.
-# It is true if the byte string has some other length in characters, or
+# It is ':' if the byte string has some other length in characters, or
# if this is a POSIX.1-2017 or earlier shell that does not support $'...'.
CUNEIFORM_SIGN_URU_TIMES_KI=$'\360\222\215\205'
if test ${#CUNEIFORM_SIGN_URU_TIMES_KI} = 1
then translit=false
-else translit=true
+else translit=:
fi
# Read into shell variable $1 the contents of file $2.
--
2.48.1