summaryrefslogtreecommitdiffstats
path: root/release/scripts/extract_src.sh
blob: 0003bfdd680cb0ccc6efe37f365551178c7d35c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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
OpenPOWER on IntegriCloud