Allow the DESTDIR to be specified without a terminating slash

(all other install scripts allow this).
This commit is contained in:
ru 2006-08-28 08:08:57 +00:00
parent c3b8be0a8c
commit 22c55c25c4

View File

@ -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