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/1eea53bd722a
branches:  trunk
changeset: 984538:1eea53bd722a
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 7f4486c4642e -r 1eea53bd722a 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