summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-10 09:22:37 +0000
committerjkh <jkh@FreeBSD.org>1996-10-10 09:22:37 +0000
commit2bb87dfc538571deb30a9d61a45ec8368c53dad8 (patch)
tree31ff5f0486b07cc5ddea970ecb03a65a14ad10b0 /release/scripts
parenta5e0f0331bae5c7ae2f66bda4fc264dcad4aea9d (diff)
downloadFreeBSD-src-2bb87dfc538571deb30a9d61a45ec8368c53dad8.zip
FreeBSD-src-2bb87dfc538571deb30a9d61a45ec8368c53dad8.tar.gz
Ahem. It might be nice if I included /usr/src/contrib in with the other
src dists. This alone is a good reason to re-roll the SNAP before putting it on CD.
Diffstat (limited to 'release/scripts')
-rwxr-xr-xrelease/scripts/src-install.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/release/scripts/src-install.sh b/release/scripts/src-install.sh
index 3c0c3d8..a7b593b 100755
--- a/release/scripts/src-install.sh
+++ b/release/scripts/src-install.sh
@@ -8,13 +8,20 @@ if [ $# -lt 1 ]; then
echo "You must specify which components of src to extract"
echo "possible subcomponents are:"
echo
- echo "base bin etc games gnu include lib libexec lkm release"
- echo "sbin share smailcf sys ubin usbin"
+ echo "base bin contrib etc games gnu include lib libexec lkm"
+ echo "release sbin share smailcf sys ubin usbin"
echo
+ echo "You may also specify all to extract all subcomponents."
exit 1
fi
-for i in $*; do
+if [ "$1" = "all" ]; then
+ dists="base bin contrib etc games gnu include lib libexec lkm release sbin share smailcf sys ubin usbin"
+else
+ dists="$*"
+fi
+
+for i in $dists; do
echo "Extracting source component: $i"
cat s${i}.?? | tar --unlink -xpzf - -C /usr/src
done
OpenPOWER on IntegriCloud