summaryrefslogtreecommitdiffstats
path: root/release/scripts/ports-install.sh
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-09-22 08:43:10 +0000
committerjkh <jkh@FreeBSD.org>1998-09-22 08:43:10 +0000
commit8b5224d95627b570b6b09d645aebd12055faa5b8 (patch)
treec7c4a854f8b503b55fa5e0141b26b168b424f14b /release/scripts/ports-install.sh
parenta9176ccdfc6c8ff1505f6393f554ddc67052d6a7 (diff)
downloadFreeBSD-src-8b5224d95627b570b6b09d645aebd12055faa5b8.zip
FreeBSD-src-8b5224d95627b570b6b09d645aebd12055faa5b8.tar.gz
Allow the use of ${DESTDIR} in the enviroment to optionally get
these various collections to install someplace else.
Diffstat (limited to 'release/scripts/ports-install.sh')
-rwxr-xr-xrelease/scripts/ports-install.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ports-install.sh b/release/scripts/ports-install.sh
index 22d2246..810bab0 100755
--- a/release/scripts/ports-install.sh
+++ b/release/scripts/ports-install.sh
@@ -4,5 +4,6 @@ if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
-cat ports.tgz | tar --unlink -xpzf - -C /usr
+echo "Extracting ports tarball into ${DESTDIR}/usr"
+cat ports.tgz | tar --unlink -xpzf - -C ${DESTDIR}/usr
exit 0
OpenPOWER on IntegriCloud