diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-13 01:48:06 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-04-13 01:48:06 +0000 |
commit | e1b0e990bce86d1a964c330a65172fa0112fd128 (patch) | |
tree | 703ed476a557d92efb1e0a971c4c0b9f7d521f49 | |
parent | 1c8656b703ee969f669cd45dd46d701a19974bd8 (diff) |
use the new ftp -T title mode to compress the install script output
a bit more (and it is a lot prettier, too) ok krw
-rw-r--r-- | distrib/miniroot/install.sub | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 27647656c71..1fb551aac24 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.450 2009/03/14 15:55:39 krw Exp $ +# $OpenBSD: install.sub,v 1.451 2009/04/13 01:48:05 deraadt Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2007 Todd Miller, Theo de Raadt, Ken Westerback @@ -953,11 +953,11 @@ __EOT for _f in $THESETS ; do isin $_f $_get_sets || continue - echo "Getting $_f ..." + echo -n "Getting $_f ..." case $_f in - *.tgz) ftp $FTPOPTS -o - -m "$_src/$_f" | tar zxphf - -C /mnt + *.tgz) ftp -T "$_f" $FTPOPTS -o - -m "$_src/$_f" | tar zxphf - -C /mnt ;; - *) ftp $FTPOPTS -o "/mnt/$_f" -m "$_src/$_f" + *) ftp -T "$_f" $FTPOPTS -o "/mnt/$_f" -m "$_src/$_f" ;; esac if [ $? -ne 0 ]; then |