aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 11:17:29 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-08 11:17:29 +0000
commit0a2bc69f9c86c66c7c423cf4acd2aade4900e7d4 (patch)
tree650b1e565f776ca4e2a9bdacf01f27f479825a91
parent70201e10034a02af82b323e73bf4e192e35027af (diff)
downloadsrc-0a2bc69f9c86c66c7c423cf4acd2aade4900e7d4.tar.gz
src-0a2bc69f9c86c66c7c423cf4acd2aade4900e7d4.zip
Temporarily correct for Poul's insane serial-killer bindist (that wants
to kill myname and wipe out my oh-so-carefully constructed hosts file).
Notes
Notes: svn path=/head/; revision=4270
-rw-r--r--release/extract.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/extract.sh b/release/extract.sh
index 0f7c4bde2046..4ebf9f22ed63 100644
--- a/release/extract.sh
+++ b/release/extract.sh
@@ -1,7 +1,12 @@
#!/bin/sh
if [ -f bin_tgz.aa ] ; then
+ # Temporary kludge for pathological bindist.
+ cp /etc/hosts /etc/myname /stand/etc
echo; echo "Extracting bindist, please wait. Ignore any messages from"
echo "cpio saying \"No such file or directory\". It doesn't know what"
echo "it's talking about.."; echo
cat bin_tgz.?? | zcat | ( cd / ; cpio -H tar -idumV )
+ # Add back what the bindist nuked.
+ cp /stand/etc/myname /etc
+ cat /stand/etc/hosts >> /etc/hosts
fi