1995-01-14 08:41:52 +01:00
|
|
|
#!/bin/sh
|
1995-02-10 08:22:39 +01:00
|
|
|
# $Id: extract_src.sh,v 1.4 1995/02/02 08:31:36 jkh Exp $
|
1995-01-14 08:41:52 +01:00
|
|
|
PATH=/stand:$PATH
|
1995-02-02 09:31:38 +01:00
|
|
|
DDIR=/usr/src
|
1995-01-14 08:41:52 +01:00
|
|
|
|
1995-01-29 09:38:22 +01:00
|
|
|
for DIST in base srcbin etc games gnu include lib libexec release sbin lkm \
|
1995-01-27 08:49:46 +01:00
|
|
|
release share sys usrbin usrsbin; do
|
|
|
|
if [ -f ${DIST}.aa ]; then
|
|
|
|
echo "Extracting ${DIST} sources"
|
|
|
|
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
|
|
|
fi
|
|
|
|
done
|
1995-02-10 08:22:39 +01:00
|
|
|
rm -f /sys
|
|
|
|
ln -s /usr/src/sys /sys
|