${.CURDIR} != pwd and since we use the shell version of if now we don't even

need to prepend it.

Found-by:	gallatin
This commit is contained in:
Max Laier 2006-02-20 01:08:33 +00:00
parent b2fc195e1b
commit 009b3d3d4b

View File

@ -137,7 +137,7 @@ CLEANFILES+= ${KMOD:S/$/.c/}
.for _firmw in ${FIRMWS}
${_firmw:C/\:.*$/.fwo/}: ${_firmw:C/\:.*$//}
@${ECHO} ${_firmw:C/\:.*$//} ${.ALLSRC:M*${_firmw:C/\:.*$//}}
@if [ -e ${.CURDIR}/${_firmw:C/\:.*$//} ]; then \
@if [ -e ${_firmw:C/\:.*$//} ]; then \
${LD} -b binary ${LDFLAGS} -r -d -o ${.TARGET} \
${_firmw:C/\:.*$//}; \
else \