changeset 1832:256f65a37e15

Automated merge with ssh://hg.atheme-project.org//hg/audacious-plugins
author Jonathan Schleifer <js@h3c.de>
date Mon, 24 Sep 2007 20:47:46 +0200
parents 5665b04a6cfd (diff) 8b5fbdd98c0e (current diff)
children 9082ea1df2b9 1adfd05736a5
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/buildsys.mk.in	Mon Sep 24 13:50:19 2007 -0500
+++ b/buildsys.mk.in	Mon Sep 24 20:47:46 2007 +0200
@@ -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 \