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/8d1d6b85cb4b
branches: trunk
changeset: 993541:8d1d6b85cb4b
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 637d4cac7f46 -r 8d1d6b85cb4b 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