freebsd-src/release/scripts/extract_src.sh

13 lines
343 B
Bash
Raw Normal View History

1995-01-14 07:41:52 +00:00
#!/bin/sh
1995-01-27 07:49:46 +00:00
# $Id: extract_src.sh,v 1.1 1995/01/14 07:41:46 jkh Exp $
1995-01-14 07:41:52 +00:00
PATH=/stand:$PATH
DDIR=/
1995-01-27 07:49:46 +00:00
for DIST in base bin etc games gnu include lib libexec release sbin lkm \
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