Strip trailing slashes from DESTDIR
Solves duplicate slashes in paths Scanning //usr/share/certs/trusted for certificates... Scanning //usr/local/share/certs for certificates... Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/595
This commit is contained in:
parent
cfd6acbb55
commit
17720d0bd0
@ -278,6 +278,8 @@ while getopts D:d:M:nUv flag; do
|
||||
done
|
||||
shift $(( $OPTIND - 1 ))
|
||||
|
||||
DESTDIR=${DESTDIR%/}
|
||||
|
||||
: ${METALOG:=${DESTDIR}/METALOG}
|
||||
INSTALLFLAGS=
|
||||
[ $UNPRIV -eq 1 ] && INSTALLFLAGS="-U -M ${METALOG} -D ${DESTDIR}"
|
||||
|
Loading…
Reference in New Issue
Block a user