diff options
author | markm <markm@FreeBSD.org> | 2000-08-19 12:28:23 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-08-19 12:28:23 +0000 |
commit | 990677a21b93d12af04de147ae914059f4dec4ec (patch) | |
tree | 5b5ddbaedc93b0e43dd14589dc5ea0f3fa57cae1 /share | |
parent | deafbc3df10c0c4e83b75f0c6a4196eacc8d43b6 (diff) | |
download | FreeBSD-src-990677a21b93d12af04de147ae914059f4dec4ec.zip FreeBSD-src-990677a21b93d12af04de147ae914059f4dec4ec.tar.gz |
Fix the arguments to [(1) (AKA test(1)). If the string being tested
by -n is nonexistant, then the following -d was misinterpreted with
a strange error. By putting double quotes (") around the argument,
we can be sure there is _something_ there that we can check a zero
length against.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.obj.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.obj.mk b/share/mk/bsd.obj.mk index 4a68087..76d02b5 100644 --- a/share/mk/bsd.obj.mk +++ b/share/mk/bsd.obj.mk @@ -97,7 +97,7 @@ whereobj: .endif cleanobj: - @if [ -n ${MAKEOBJDIRPREFIX} -a -d ${CANONICALOBJDIR}/ ]; then \ + @if [ -n "${MAKEOBJDIRPREFIX}" -a -d ${CANONICALOBJDIR}/ ]; then \ rm -rf ${CANONICALOBJDIR}; \ else \ cd ${.CURDIR} && ${MAKE} clean cleandepend; \ |