Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/stand/binstall PR install/53610



details:   https://anonhg.NetBSD.org/src/rev/2700c30edacf
branches:  trunk
changeset: 433484:2700c30edacf
user:      kre <kre%NetBSD.org@localhost>
date:      Sun Sep 16 14:23:04 2018 +0000

description:
PR install/53610

Remove use of -a in test(1) - deprecated in standard, and no
longer supported in SMALL (install media) versions of test in /bin/sh

diffstat:

 sys/arch/sparc/stand/binstall/binstall.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9c5519ea1656 -r 2700c30edacf sys/arch/sparc/stand/binstall/binstall.sh
--- a/sys/arch/sparc/stand/binstall/binstall.sh Sun Sep 16 13:21:36 2018 +0000
+++ b/sys/arch/sparc/stand/binstall/binstall.sh Sun Sep 16 14:23:04 2018 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-#      $NetBSD: binstall.sh,v 1.15 2006/07/12 21:34:45 he Exp $
+#      $NetBSD: binstall.sh,v 1.16 2018/09/16 14:23:04 kre Exp $
 #
 
 vecho () {
@@ -119,7 +119,7 @@
                DEV=`mount | while read line; do
                        set -- $line
                        vecho "Inspecting \"$line\""
-                       if [ "$2" = "on" -a "$3" = "$DEST" ]; then
+                       if [ "$2" = "on" ] && [ "$3" = "$DEST" ]; then
                                if [ ! -b $1 ]; then
                                        continue
                                fi



Home | Main Index | Thread Index | Old Index