use Solaris-compatible shell syntax (bug #4567)
authorKevin P. Fleming <kpfleming@digium.com>
Tue, 21 Jun 2005 22:16:30 +0000 (22:16 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Tue, 21 Jun 2005 22:16:30 +0000 (22:16 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5961 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile

index 6aec0a4..1503199 100755 (executable)
--- a/Makefile
+++ b/Makefile
@@ -396,7 +396,7 @@ asterisk.txt: asterisk.sgml
 
 defaults.h: FORCE
        build_tools/make_defaults_h > $@.tmp
-       if ! cmp -s $@.tmp $@ ; then \
+       if cmp -s $@.tmp $@ ; then echo ; else \
                mv $@.tmp $@ ; \
        fi
        rm -f $@.tmp
@@ -404,7 +404,7 @@ defaults.h: FORCE
 
 include/asterisk/build.h:
        build_tools/make_build_h > $@.tmp
-       if ! cmp -s $@.tmp $@ ; then \
+       if cmp -s $@.tmp $@ ; then echo ; else \
                mv $@.tmp $@ ; \
        fi
        rm -f $@.tmp
@@ -416,7 +416,7 @@ endif
 
 include/asterisk/version.h: FORCE
        build_tools/make_version_h > $@.tmp
-       if ! cmp -s $@.tmp $@ ; then \
+       if cmp -s $@.tmp $@ ; then echo; else \
                mv $@.tmp $@ ; \
        fi
        rm -f $@.tmp