Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/vax/inst-common Avoid more obsolescent binary primar...
details: https://anonhg.NetBSD.org/src/rev/a2b596fd51b3
branches: trunk
changeset: 369704:a2b596fd51b3
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Sun Aug 28 12:44:00 2022 +0000
description:
Avoid more obsolescent binary primaries not supported by crunched test(1).
See PR/54835 and PR/56983 for details.
diffstat:
distrib/amiga/floppies/inst-common/dot.commonutils | 6 +++---
distrib/amiga/miniroot/dot.profile | 4 ++--
distrib/utils/script-installer/dot.commonutils | 6 +++---
distrib/vax/inst-common/dot.commonutils | 6 +++---
4 files changed, 11 insertions(+), 11 deletions(-)
diffs (99 lines):
diff -r ad5de9d16f80 -r a2b596fd51b3 distrib/amiga/floppies/inst-common/dot.commonutils
--- a/distrib/amiga/floppies/inst-common/dot.commonutils Sun Aug 28 12:24:39 2022 +0000
+++ b/distrib/amiga/floppies/inst-common/dot.commonutils Sun Aug 28 12:44:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.commonutils,v 1.8 2003/07/26 17:06:29 salo Exp $
+# $NetBSD: dot.commonutils,v 1.9 2022/08/28 12:44:00 tsutsui Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -49,7 +49,7 @@
Set_tmp_dir()
{
def_tmp_dir=`pwd`
- if [ "$def_tmp_dir" = "/" -o "$def_tmp_dir" = "/mnt" ]; then
+ if [ "$def_tmp_dir" = "/" ] || [ "$def_tmp_dir" = "/mnt" ]; then
def_tmp_dir="$dest_dir"usr/distrib
fi
@@ -78,7 +78,7 @@
{
Tmp_dir
which=
- while [ "$which" != "a" -a "$which" != "b" ]; do
+ while [ "$which" != "a" ] && [ "$which" != "b" ]; do
echo -n "Read from which floppy drive ('a' or 'b')? [a] "
read which
if [ "X$which" = "X" ]; then
diff -r ad5de9d16f80 -r a2b596fd51b3 distrib/amiga/miniroot/dot.profile
--- a/distrib/amiga/miniroot/dot.profile Sun Aug 28 12:24:39 2022 +0000
+++ b/distrib/amiga/miniroot/dot.profile Sun Aug 28 12:44:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.10 2008/07/27 19:55:19 mlelstv Exp $
+# $NetBSD: dot.profile,v 1.11 2022/08/28 12:44:01 tsutsui Exp $
#
# Copyright (c) 1995 Jason R. Thorpe
# Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@
# Check if the answer is valid (in range). Note that an answer
# < 0 cannot happen because the sed(1) above also removes the
# sign.
- if [ -z "$_ans" -o "$_ans" -ge $_num ]; then
+ if [ -z "$_ans" ] || [ "$_ans" -ge $_num ]; then
echo "You entered an invalid response, please try again."
continue
fi
diff -r ad5de9d16f80 -r a2b596fd51b3 distrib/utils/script-installer/dot.commonutils
--- a/distrib/utils/script-installer/dot.commonutils Sun Aug 28 12:24:39 2022 +0000
+++ b/distrib/utils/script-installer/dot.commonutils Sun Aug 28 12:44:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.commonutils,v 1.7 2003/07/26 17:07:37 salo Exp $
+# $NetBSD: dot.commonutils,v 1.8 2022/08/28 12:44:01 tsutsui Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -49,7 +49,7 @@
Set_tmp_dir()
{
def_tmp_dir=`pwd`
- if [ "$def_tmp_dir" = "/" -o "$def_tmp_dir" = "/mnt" ]; then
+ if [ "$def_tmp_dir" = "/" ] || [ "$def_tmp_dir" = "/mnt" ]; then
def_tmp_dir="$dest_dir"usr/distrib
fi
@@ -81,7 +81,7 @@
# echo "Don't forget that you can't load from the drive you booted from."
echo ""
- while [ "$which" != "0" -a "$which" != "1" ]; do
+ while [ "$which" != "0" ] && [ "$which" != "1" ]; do
echo -n "Read from which floppy drive ('0' or '1')? [0] "
read which
if [ "X$which" = "X" ]; then
diff -r ad5de9d16f80 -r a2b596fd51b3 distrib/vax/inst-common/dot.commonutils
--- a/distrib/vax/inst-common/dot.commonutils Sun Aug 28 12:24:39 2022 +0000
+++ b/distrib/vax/inst-common/dot.commonutils Sun Aug 28 12:44:00 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.commonutils,v 1.5 2003/07/26 17:07:41 salo Exp $
+# $NetBSD: dot.commonutils,v 1.6 2022/08/28 12:44:01 tsutsui Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -39,7 +39,7 @@
Set_tmp_dir()
{
def_tmp_dir=`pwd`
- if [ "$def_tmp_dir" = "/" -o "$def_tmp_dir" = "/mnt" ]; then
+ if [ "$def_tmp_dir" = "/" ] || [ "$def_tmp_dir" = "/mnt" ]; then
def_tmp_dir=/mnt/usr/distrib
fi
@@ -68,7 +68,7 @@
{
Tmp_dir
which=
- while [ "$which" != "a" -a "$which" != "b" ]; do
+ while [ "$which" != "a" ] && [ "$which" != "b" ]; do
echo -n "Read from which floppy drive ('a' or 'b')? [a] "
read which
if [ "X$which" = "X" ]; then
Home |
Main Index |
Thread Index |
Old Index