freebsd-src/release/scripts/extract_src.sh
Jordan K. Hubbard 24c120144b Clean these up a bunch more - gee I'm glad I do these snapshots, they uncover
*so many problems*.. Too bad the snaps themselves don't get made as a
consequence.. :-)

Bump the date forward Yet Another Day.  David has some changes he wants to
see rolled in, so I guess we're down for Feb 2nd as the snap date!
1995-02-02 08:31:38 +00:00

13 lines
353 B
Bash

#!/bin/sh
# $Id: extract_src.sh,v 1.3 1995/01/29 08:38:22 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
echo "Extracting ${DIST} sources"
cat ${DIST}.?? | gzip -c -d | ( cd $DDIR; cpio -H tar -imdu )
fi
done