Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/miniroot get_localdir: fix variable use in error mes...
details: https://anonhg.NetBSD.org/src/rev/c3e4387fb166
branches: trunk
changeset: 481738:c3e4387fb166
user: pk <pk%NetBSD.org@localhost>
date: Fri Feb 04 15:28:28 2000 +0000
description:
get_localdir: fix variable use in error message (PR#8913)
+ clarify expected input.
diffstat:
distrib/miniroot/install.sub | 15 +++++++++++----
1 files changed, 11 insertions(+), 4 deletions(-)
diffs (38 lines):
diff -r f88a15039902 -r c3e4387fb166 distrib/miniroot/install.sub
--- a/distrib/miniroot/install.sub Fri Feb 04 14:34:22 2000 +0000
+++ b/distrib/miniroot/install.sub Fri Feb 04 15:28:28 2000 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: install.sub,v 1.31 1999/10/07 00:10:03 sjg Exp $
+# $NetBSD: install.sub,v 1.32 2000/02/04 15:28:28 pk Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -187,6 +187,13 @@
_mp=$1
_dir=
while : ; do
+ if [ X$_mp != X ]; then
+ cat << __get_localdir_1
+Note: your filesystems are mounted under the temporary mount point \"$_mp\".
+The pathname you are requested to enter below should NOT include the \"$_mp\"
+prefix.
+__get_localdir_1
+ fi
echo -n "Enter the pathname where the sets are stored [$_dir] "
getresp "$_dir"
_dir=$resp
@@ -210,10 +217,10 @@
local_sets_dir="$_mp/$_dir"
break
else
- cat << __get_reldir_1
-The directory \"$local_sets_dir\" does not exist, or does not hold any of the
+ cat << __get_localdir_2
+The directory \"$_mp/$_dir\" does not exist, or does not hold any of the
upgrade sets.
-__get_reldir_1
+__get_localdir_2
echo -n "Re-enter pathname? [y] "
getresp "y"
case "$resp" in
Home |
Main Index |
Thread Index |
Old Index