Always prefix comparisons with x.

This commit is contained in:
Jonathan Schleifer 2007-09-24 20:45:30 +02:00
parent 6af90c4379
commit 631b612564

View file

@ -89,7 +89,7 @@ subdirs:
depend: pre-depend ${SRCS} depend: pre-depend ${SRCS}
regen=0; \ regen=0; \
for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \ for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
if [ $$regen = 1 ]; then \ if [ x"$$regen" = x"1" ]; then \
error=0; \ error=0; \
${DEPEND_STATUS}; \ ${DEPEND_STATUS}; \
rm -f .deps; \ rm -f .deps; \
@ -100,7 +100,7 @@ depend: pre-depend ${SRCS}
;; \ ;; \
esac; \ esac; \
done; \ done; \
if [ $$error = 0 ]; then \ if [ x"$$error" = x"0" ]; then \
${DEPEND_OK}; \ ${DEPEND_OK}; \
else \ else \
${DEPEND_FAILED}; \ ${DEPEND_FAILED}; \
@ -161,7 +161,7 @@ ${EXT_DEPS}: subdirs
.d.o: .d.o:
${COMPILE_STATUS} ${COMPILE_STATUS}
if test x"$(basename ${DC})" = x"dmd"; then \ if [ x"$(basename ${DC})" = x"dmd" ]; then \
if ${DC} ${DFLAGS} -c -of$@ $<; then \ if ${DC} ${DFLAGS} -c -of$@ $<; then \
${COMPILE_OK}; \ ${COMPILE_OK}; \
else \ else \