Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst We need IFS to be set to % for the rest of ...



details:   https://anonhg.NetBSD.org/src/rev/d0b612203f03
branches:  trunk
changeset: 1022274:d0b612203f03
user:      cjep <cjep%NetBSD.org@localhost>
date:      Sun Jul 11 10:51:46 2021 +0000

description:
We need IFS to be set to % for the rest of the script so be explicit
about it. Fixes message truncation for non-English in sysinst.

diffstat:

 usr.sbin/sysinst/msg_xlat.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r cc7d205d437c -r d0b612203f03 usr.sbin/sysinst/msg_xlat.sh
--- a/usr.sbin/sysinst/msg_xlat.sh      Sun Jul 11 06:15:42 2021 +0000
+++ b/usr.sbin/sysinst/msg_xlat.sh      Sun Jul 11 10:51:46 2021 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh
-#      $NetBSD: msg_xlat.sh,v 1.3 2021/06/29 08:02:50 cjep Exp $
+#      $NetBSD: msg_xlat.sh,v 1.4 2021/07/11 10:51:46 cjep Exp $
 
 #-
 # Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -174,7 +174,7 @@
                $IGNORE_MISSING_TRANSLATIONS || rval=1
        fi
 done
-unset IFS
+IFS=%
 
 if $count_fmtargs; then exit $rval; fi
 



Home | Main Index | Thread Index | Old Index