1995-01-14 07:41:52 +00:00
|
|
|
#!/bin/sh
|
1995-03-24 03:38:48 +00:00
|
|
|
# $Id: extract_src.sh,v 1.9 1995/03/24 02:45:34 phk Exp $
|
1995-01-14 07:41:52 +00:00
|
|
|
PATH=/stand:$PATH
|
1995-02-02 08:31:38 +00:00
|
|
|
DDIR=/usr/src
|
1995-01-14 07:41:52 +00:00
|
|
|
|
1995-03-24 02:45:34 +00:00
|
|
|
for T in src*.aa ; do
|
|
|
|
DIST=`basename $T .aa`
|
|
|
|
if [ -f ${DIST}.aa ]; then
|
1995-01-27 07:49:46 +00:00
|
|
|
echo "Extracting ${DIST} sources"
|
1995-03-24 03:38:48 +00:00
|
|
|
cat ${DIST}.?? |
|
|
|
|
gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
1995-01-27 07:49:46 +00:00
|
|
|
fi
|
|
|
|
done
|
1995-03-21 21:44:54 +00:00
|
|
|
ln -fs /usr/src/sys /sys
|