Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/script-installer Use pax(1) instead of tar(1).
details: https://anonhg.NetBSD.org/src/rev/020513a25d09
branches: trunk
changeset: 467608:020513a25d09
user: minoura <minoura%NetBSD.org@localhost>
date: Fri Mar 26 09:24:27 1999 +0000
description:
Use pax(1) instead of tar(1).
MD parts already have this change. /usr/bin/tar can be removed from
the miniroot.
diffstat:
distrib/utils/script-installer/dot.commonutils | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r 19d3c7a708cb -r 020513a25d09 distrib/utils/script-installer/dot.commonutils
--- a/distrib/utils/script-installer/dot.commonutils Fri Mar 26 09:22:52 1999 +0000
+++ b/distrib/utils/script-installer/dot.commonutils Fri Mar 26 09:24:27 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.commonutils,v 1.2 1998/11/28 01:38:30 jonathan Exp $
+# $NetBSD: dot.commonutils,v 1.3 1999/03/26 09:24:27 minoura Exp $
#
# Copyright (c) 1994 Christopher G. Demetriou
# All rights reserved.
@@ -40,7 +40,7 @@
fi
# counter for possible shared library confusion
-TAR=/usr/bin/tar
+PAX=/bin/pax
GUNZIP=/usr/bin/gunzip
Set_tmp_dir()
@@ -111,7 +111,7 @@
echo -n "continue..."
read foo
echo "Extracting files from the tape..."
- $TAR --unlink -xvpf /dev/$which
+ $PAX -rvpe -f /dev/$which
echo "Done."
}
@@ -122,11 +122,11 @@
read verbose
case $verbose in
y*|Y*)
- tarverbose=v
+ tarverbose=-v
;;
*)
tarverbose=
;;
esac
- cat "$1"* | $GUNZIP | (cd $dest_dir ; $TAR --unlink -xp"$tarverbose"f - )
+ cat "$1"* | $GUNZIP | (cd $dest_dir ; $PAX -rpe $tarverbose )
}
Home |
Main Index |
Thread Index |
Old Index