From df6330f805ffa7823d806a2f932227d840e8ac02 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Mon, 28 Aug 2006 08:08:57 +0000 Subject: [PATCH] Allow the DESTDIR to be specified without a terminating slash (all other install scripts allow this). --- release/scripts/proflibs-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/proflibs-install.sh b/release/scripts/proflibs-install.sh index 5dd2b423993..39adc1c413c 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