1994-11-08 11:14:45 +00:00
|
|
|
#!/bin/sh
|
1994-11-10 02:24:47 +00:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
DDIR=/
|
|
|
|
|
1994-11-07 03:53:14 +00:00
|
|
|
if [ -f bin_tgz.aa ] ; then
|
1994-11-08 11:17:29 +00:00
|
|
|
# Temporary kludge for pathological bindist.
|
1994-11-10 02:24:47 +00:00
|
|
|
cp $DDIR/etc/hosts $DDIR/etc/myname $DDIR/stand/etc
|
1994-11-08 11:14:45 +00:00
|
|
|
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
|
1994-11-10 02:24:47 +00:00
|
|
|
cat bin_tgz.?? | zcat | ( cd $DDIR ; cpio -H tar -idumV )
|
1994-11-08 11:17:29 +00:00
|
|
|
# Add back what the bindist nuked.
|
1994-11-10 02:24:47 +00:00
|
|
|
cp $DDIR/stand/etc/myname $DDIR/etc
|
|
|
|
cat $DDIR/stand/etc/hosts >> $DDIR/etc/hosts
|
1994-11-06 23:47:06 +00:00
|
|
|
fi
|
1994-11-10 02:24:47 +00:00
|
|
|
|
|
|
|
for i in *.aa
|
|
|
|
do
|
|
|
|
b=`basename $i .aa`
|
|
|
|
echo "Extracting $b"
|
|
|
|
if [ "$b" != bin_tgz ] ; then
|
|
|
|
cat $b.?? | zcat | ( cd $DDIR ; tar xf - )
|
|
|
|
fi
|
|
|
|
done
|