diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-10-03 15:13:09 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2011-10-03 15:13:09 +0000 |
commit | e59e2d8ec7ee4b936b1d9299aed5b879b5dcc26f (patch) | |
tree | c481c54594473b69a886998821cfee95a4a025ba /release/scripts/src-install.sh | |
parent | 8d79dfca555bf45bec92359b163370674aa5a526 (diff) | |
download | src-e59e2d8ec7ee4b936b1d9299aed5b879b5dcc26f.tar.gz src-e59e2d8ec7ee4b936b1d9299aed5b879b5dcc26f.zip |
Notes
Diffstat (limited to 'release/scripts/src-install.sh')
-rwxr-xr-x | release/scripts/src-install.sh | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/release/scripts/src-install.sh b/release/scripts/src-install.sh deleted file mode 100755 index 90583c24d592..000000000000 --- a/release/scripts/src-install.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -if [ "`id -u`" != "0" ]; then - echo "Sorry, this must be done as root." - exit 1 -fi -if [ $# -lt 1 ]; then - echo "You must specify which components of src to extract" - echo "possible subcomponents are:" - echo - echo "base bin cddl contrib crypto etc games gnu include krb5" - echo "lib libexec release rescue sbin secure share sys tools ubin" - echo "usbin" - echo - echo "You may also specify all to extract all subcomponents." - exit 1 -fi - -if [ "$1" = "all" ]; then - dists="base bin cddl contrib crypto etc games gnu include krb5 lib libexec release rescue sbin secure share sys tools ubin usbin" -else - dists="$*" -fi - -echo "Extracting sources into ${DESTDIR}/usr/src..." -for i in $dists; do - echo " Extracting source component: $i" - cat s${i}.?? | tar --unlink -xpzf - -C ${DESTDIR}/usr/src -done -echo "Done extracting sources." -exit 0 |