]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/Makefile.in
Validate data for a forbidden combination of alwaysOnline and ips
[stg.git] / projects / stargazer / plugins / Makefile.in
index 1389d9ef3516a20c1dbcd3c81d242dde47fc465b..17e10ace9d0845932ecc6f22860c52c1e514d7f7 100644 (file)
@@ -43,12 +43,12 @@ 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) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\
-           echo -e '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
+           printf '%b\n' '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
          else\
            echo "`$(CXX) $(CXXFLAGS) $(DEFS) $(SEARCH_DIRS) -MM $$file` Makefile ../../../../../Makefile.conf" >> deps ;\
-           echo -e '\t$$(CXX) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
+           printf '%b\n' '\t$$(CXX) -c $$< $(CXXFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
          fi;\
        done