make: readlink -f needs an argument

This commit is contained in:
Franco Fichtner 2026-05-18 13:10:59 +02:00
parent 3e46afbae7
commit 4b94d331ae

View file

@ -240,7 +240,7 @@ scripts-manual:
install: check
@mkdir -p ${DESTDIR}${LOCALBASE}/opnsense/version
@if [ -d ${.CURDIR}/contrib ]; then ${MAKE} DESTDIR=$$(readlink -f ${DESTDIR}) -C ${.CURDIR}/contrib install; fi
@if [ -d ${.CURDIR}/contrib ]; then ${MAKE} DESTDIR=$$(readlink -f ${DESTDIR:U/}) -C ${.CURDIR}/contrib install; fi
@(cd ${.CURDIR}/src 2> /dev/null && find * -type f) | while read FILE; do \
tar -C ${.CURDIR}/src -cpf - "$${FILE}" | \
tar -C ${DESTDIR}${LOCALBASE} -xpf -; \