Use test -z rather than -n.
Submitted by: bde
This commit is contained in:
parent
ffa37b3f9b
commit
5558b041c8
@ -97,7 +97,7 @@ whereobj:
|
||||
.endif
|
||||
|
||||
cleanobj:
|
||||
@if [ -n "${MAKEOBJDIRPREFIX}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
||||
@if [ -z "${MAKEOBJDIRPREFIX}" -a -d ${CANONICALOBJDIR}/ ]; then \
|
||||
rm -rf ${CANONICALOBJDIR}; \
|
||||
else \
|
||||
cd ${.CURDIR} && ${MAKE} clean cleandepend; \
|
||||
|
Loading…
Reference in New Issue
Block a user