]> git.stg.codes - stg.git/blobdiff - stglibs/Makefile.in
Replace == with -eq for numeric comparison
[stg.git] / stglibs / Makefile.in
index 8c97fae8f1d60066a00c55958869c35a857b6147..b768b1638070dbabdd4657d221cfdb3e909a612b 100644 (file)
@@ -58,7 +58,7 @@ deps: $(SRCS) ../../Makefile.conf
        @>deps ;\
        for file in $(SRCS); do\
          echo "$$file" | grep ".c$$" > /dev/null;\
-         if [ $$? == 0 ];\
+         if [ $$? -eq 0 ];\
          then\
            echo "`$(CC) $(CFLAGS) -MM $$file` Makefile ../../Makefile.conf" >> deps ;\
            echo -e '\t$$(CC) $(CFLAGS) -c $$<' >> deps ;\