Allow the DESTDIR to be specified without a terminating slash
(all other install scripts allow this).
This commit is contained in:
parent
efdab28ffe
commit
df6330f805
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=161687
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user