summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2006-08-28 08:08:57 +0000
committerru <ru@FreeBSD.org>2006-08-28 08:08:57 +0000
commit22c55c25c47f849476fcb094e94ddb2eedce714e (patch)
tree151ed87cd17fd72ad86f592fd3516be21f091ca1 /release
parentc3b8be0a8c2d228e02dd93a7304bd7ac6c9a2718 (diff)
downloadFreeBSD-src-22c55c25c47f849476fcb094e94ddb2eedce714e.zip
FreeBSD-src-22c55c25c47f849476fcb094e94ddb2eedce714e.tar.gz
Allow the DESTDIR to be specified without a terminating slash
(all other install scripts allow this).
Diffstat (limited to 'release')
-rwxr-xr-xrelease/scripts/proflibs-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/proflibs-install.sh b/release/scripts/proflibs-install.sh
index 5dd2b42..39adc1c 100755
--- a/release/scripts/proflibs-install.sh
+++ b/release/scripts/proflibs-install.sh
@@ -8,7 +8,7 @@ if [ "`id -u`" != "0" ]; then
exit 1
fi
cat proflibs.?? | tar --unlink -xpzf - -C ${DESTDIR:-/}
-cd ${DESTDIR:-/}usr/lib
+cd ${DESTDIR}/usr/lib
if [ -f libdescrypt_p.a ]
then
ln -f -s libdescrypt_p.a libcrypt_p.a
OpenPOWER on IntegriCloud