Add a missing ${DIST}/

This commit is contained in:
Poul-Henning Kamp 1995-03-24 00:16:51 +00:00
parent e4ade01cb2
commit 02f3cabc5d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7297

View File

@ -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