changeset 1834:9082ea1df2b9

Automated merge with ssh://hg.atheme.org//hg/audacious-plugins
author William Pitcock <nenolod@atheme.org>
date Mon, 24 Sep 2007 13:57:38 -0500
parents 15e7d3473974 (current diff) 256f65a37e15 (diff)
children 528877ebbea2
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Mon Sep 24 13:57:28 2007 -0500
+++ b/buildsys.mk.in	Mon Sep 24 13:57:38 2007 -0500
@@ -89,7 +89,7 @@
 depend: pre-depend ${SRCS}
 	regen=0; \
 	for i in ${SRCS}; do [ $$i -nt .deps ] && regen=1; done; \
-	if [ $$regen = 1 ]; then \
+	if [ x"$$regen" = x"1" ]; then \
 		error=0; \
 		${DEPEND_STATUS}; \
 		rm -f .deps; \
@@ -100,7 +100,7 @@
 				;; \
 			esac; \
 		done; \
-		if [ $$error = 0 ]; then \
+		if [ x"$$error" = x"0" ]; then \
 			${DEPEND_OK}; \
 		else \
 			${DEPEND_FAILED}; \
@@ -161,7 +161,7 @@
 
 .d.o:
 	${COMPILE_STATUS}
-	if test x"$(basename ${DC})" = x"dmd"; then \
+	if [ x"$(basename ${DC})" = x"dmd" ]; then \
 		if ${DC} ${DFLAGS} -c -of$@ $<; then \
 			${COMPILE_OK}; \
 		else \