Allow the DESTDIR to be specified without a terminating slash

(all other install scripts allow this).
This commit is contained in:
Ruslan Ermilov 2006-08-28 08:08:57 +00:00
parent efdab28ffe
commit df6330f805
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161687

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