Add a missing ${DIST}/
This commit is contained in:
parent
160570ecd8
commit
eb8efe76fa
@ -1,13 +1,14 @@
|
||||
#!/bin/sh
|
||||
# $Id: extract_src.sh,v 1.5 1995/02/10 07:22:39 jkh Exp $
|
||||
# $Id: extract_src.sh,v 1.6 1995/03/21 21:44:54 jkh Exp $
|
||||
PATH=/stand:$PATH
|
||||
DDIR=/usr/src
|
||||
|
||||
for DIST in base srcbin etc games gnu include lib libexec release sbin lkm \
|
||||
release share sys usrbin usrsbin; do
|
||||
if [ -f ${DIST}.aa ]; then
|
||||
if [ -f ${DIST}/${DIST}.aa ]; then
|
||||
echo "Extracting ${DIST} sources"
|
||||
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
cat ${DIST}/${DIST}.??
|
||||
| gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
|
||||
fi
|
||||
done
|
||||
ln -fs /usr/src/sys /sys
|
||||
|
Loading…
Reference in New Issue
Block a user