1995-01-14 07:41:52 +00:00
|
|
|
#!/bin/sh
|
1995-04-13 09:06:15 +00:00
|
|
|
# $Id: extract_src.sh,v 1.12 1995/03/28 08:01:47 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-25 05:03:40 +00:00
|
|
|
mkdir -p $DDIR
|
|
|
|
|
1995-04-13 09:06:15 +00:00
|
|
|
for T in s*.aa ; do
|
1995-03-24 02:45:34 +00:00
|
|
|
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-28 08:01:47 +00:00
|
|
|
rm -f /sys
|
1995-03-21 21:44:54 +00:00
|
|
|
ln -fs /usr/src/sys /sys
|