diff --git a/release/scripts/extract_src.sh b/release/scripts/extract_src.sh index 8f45f786918f..249c551b05c4 100644 --- a/release/scripts/extract_src.sh +++ b/release/scripts/extract_src.sh @@ -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