diff --git i/tzselect.ksh w/tzselect.ksh index e799a1a665..4268ce07df 100644 --- i/tzselect.ksh +++ w/tzselect.ksh @@ -77,11 +77,11 @@ Report bugs to $REPORT_BUGS_TO." # Exit on EOF or I/O error. Use the shell's 'select' builtin if available, # falling back on a less-nice but portable substitute otherwise. if - case $BASH_VERSION in + case "$BASH_VERSION" in ?*) : ;; '') # '; exit' should be redundant, but Dash doesn't properly fail without it. - (eval 'set --; select x; do break; done; exit') 2>/dev/null + (eval 'set --; select x; do break; done; exit') 2>/dev/null /dev/null` in ?*) PS3=