Tolerate both ways of doing the src-dists.
This commit is contained in:
parent
61530543c9
commit
d20722885e
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
# $Id: extract_src.sh,v 1.6 1995/03/21 21:44:54 jkh Exp $
|
||||
# $Id: extract_src.sh,v 1.7 1995/03/24 00:16:51 phk Exp $
|
||||
PATH=/stand:$PATH
|
||||
DDIR=/usr/src
|
||||
|
||||
@ -9,6 +9,10 @@ for DIST in base srcbin etc games gnu include lib libexec release sbin lkm \
|
||||
echo "Extracting ${DIST} sources"
|
||||
cat ${DIST}/${DIST}.??
|
||||
| gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
elif [ -f ${DIST}.aa ]; then
|
||||
echo "Extracting ${DIST} sources"
|
||||
cat ${DIST}.??
|
||||
| gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
fi
|
||||
done
|
||||
ln -fs /usr/src/sys /sys
|
||||
|
Loading…
x
Reference in New Issue
Block a user