freebsd-skq/release/scripts/extract_src.sh

15 lines
313 B
Bash
Raw Normal View History

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
DDIR=/usr/src
1995-01-14 07:41:52 +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
ln -fs /usr/src/sys /sys