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