aboutsummaryrefslogtreecommitdiff
path: root/release/scripts/doc-install.sh
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-09-22 08:43:10 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-09-22 08:43:10 +0000
commitb0d5cda0b140045d6027beb8f610e9053c60f9eb (patch)
tree4f941407d6b2b16acaa8459dcbe3e4efe45eb4d4 /release/scripts/doc-install.sh
parent6d21c6f37326b6a4ec796d047d4a7b870e0b896d (diff)
Notes
Diffstat (limited to 'release/scripts/doc-install.sh')
-rwxr-xr-xrelease/scripts/doc-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/doc-install.sh b/release/scripts/doc-install.sh
index 371312cdc6c2..aae982f67c0a 100755
--- a/release/scripts/doc-install.sh
+++ b/release/scripts/doc-install.sh
@@ -4,9 +4,9 @@ if [ "`id -u`" != "0" ]; then
echo "Sorry, this must be done as root."
exit 1
fi
-echo "You are about to extract the doc distribution into / - are you SURE"
+echo "You are about to extract the doc distribution into ${DESTDIR:-/} - are you SURE"
echo -n "you want to do this over your installed system (y/n)? "
read ans
if [ "$ans" = "y" ]; then
- cat doc.?? | tar --unlink -xpzf - -C /
+ cat doc.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
fi