Use test -z rather than -n.

Submitted by:	bde
This commit is contained in:
David E. O'Brien 2000-11-01 07:09:38 +00:00
parent ffa37b3f9b
commit 5558b041c8

View File

@ -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; \