Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/distrib/miniroot/install.sub,v rcsdiff: /ftp/cvs/cvsroot/src/distrib/miniroot/install.sub,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.5.2.3 retrieving revision 1.5.2.4 diff -u -p -r1.5.2.3 -r1.5.2.4 --- src/distrib/miniroot/install.sub 1996/06/25 07:43:53 1.5.2.3 +++ src/distrib/miniroot/install.sub 1996/06/26 19:12:23 1.5.2.4 @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: install.sub,v 1.5.2.3 1996/06/25 07:43:53 thorpej Exp $ +# $NetBSD: install.sub,v 1.5.2.4 1996/06/26 19:12:23 pk Exp $ # # Copyright (c) 1996 The NetBSD Foundation, Inc. # All rights reserved. @@ -548,7 +548,7 @@ install_from_mounted_fs() { # $1 - directory containing file (within /mnt2) local _filename local _setsdone - local _prev + local _next local _f _sets=`(cd /mnt2/$1; ls *.tar.gz 2> /dev/null)` @@ -567,28 +567,29 @@ install_from_mounted_fs() { echo "(marked sets have already been extracted)" echo "" - _prev="" + _next="" for _f in $_sets ; do if isin $_f $_setsdone; then echo -n "[X] " + _next="" else echo -n " " - if [ -z "$_prev" ]; then _prev=$_f; fi + if [ -z "$_next" ]; then _next=$_f; fi fi echo $_f done echo "" # Get the name of the file. - if [ "X$_prev" = "X" ]; then resp=n; else resp=y; fi + if [ "X$_next" = "X" ]; then resp=n; else resp=y; fi echo -n "Continue extraction [$resp]?" getresp "$resp" if [ "$resp" = "n" ]; then break fi - echo -n "File name [$_prev]? " - getresp "$_prev" + echo -n "File name [$_next]? " + getresp "$_next" _f=$resp _filename="/mnt2/$1/$_f"