summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2005-08-20 09:27:08 +0000
committernetchild <netchild@FreeBSD.org>2005-08-20 09:27:08 +0000
commit29a0252061def76bbb236ae7d0c5ab4d8621993c (patch)
tree46d65efb1477088e5254da64b3b081ebd66f63a3 /Makefile.inc1
parent5dcd22341d5af42eafafb1aa95127459efcca013 (diff)
downloadFreeBSD-src-29a0252061def76bbb236ae7d0c5ab4d8621993c.zip
FreeBSD-src-29a0252061def76bbb236ae7d0c5ab4d8621993c.tar.gz
Fix the "unexpected operator" bug some people are seeing.
First noticed by: kris
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 56f1418..5c6697f 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1089,7 +1089,7 @@ delete-old-files:
| sed 's:${DESTDIR}/usr/share/man/cat:${DESTDIR}/usr/share/man/man:') \
check_empty=$$(echo $${catpage} \
| sed 's:.*\*:empty:'); \
- [ $${check_empty} != empty -a ! -e $${manpage} ] \
+ [ "$${check_empty}" != "empty" -a ! -e "$${manpage}" ] \
&& rm ${RM_I} $${catpage} || true; \
done; \
done
@@ -1107,7 +1107,7 @@ check-old-files:
| sed 's:${DESTDIR}/usr/share/man/cat:${DESTDIR}/usr/share/man/man:'); \
check_empty=$$(echo $${catpage} \
| sed 's:.*\*:empty:'); \
- [ $${check_empty} != empty -a ! -e $${manpage} ] \
+ [ "$${check_empty}" != "empty" -a ! -e "$${manpage}" ] \
&& echo $${catpage} || true; \
done; \
done
OpenPOWER on IntegriCloud