freebsd-src icon indicating copy to clipboard operation
freebsd-src copied to clipboard

Strip trailing slashes from DESTDIR

Open mariusvw opened this issue 2 years ago • 1 comments

Solves duplicate slashes in paths

Scanning //usr/share/certs/trusted for certificates...
Scanning //usr/local/share/certs for certificates...

mariusvw avatar Apr 10 '22 20:04 mariusvw

CC @kevans91

emaste avatar Apr 12 '22 16:04 emaste

landed as 17720d0bd0e8

bsdimp avatar Feb 04 '23 19:02 bsdimp

This also points at the fact Makefile.inc1 should be using ${_INSTALL_DDIR} rather than ${DESTDIR}/${DISTDIR} for this, but certctl can be used in other contexts so worth it being robust too.

jrtc27 avatar Feb 05 '23 00:02 jrtc27