gitinfo modifications fix
authorKshitij Bansal <kshitij@cs.nyu.edu>
Sun, 17 Feb 2013 04:56:22 +0000 (23:56 -0500)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Sun, 17 Feb 2013 04:56:22 +0000 (23:56 -0500)
src/Makefile.am

index 1d54bc2a8be053d5f0f2fd977c6b1e9eeee0db8e..a25cc5e8f7489ca87789a7e1ee31452c5b5f5919 100644 (file)
@@ -86,7 +86,7 @@ subversion_versioninfo.cpp: svninfo
            issvn=true; \
            branch=`grep '^URL: ' svninfo | sed 's,.*/cvc4/,,'`; \
            rev=`grep '^Revision: ' svninfo | awk '{print$$2}'`; \
-           mods=`grep '^Modifications: ' svninfo | awk '{print$$2}'`; \
+           mods=`grep '^Modifications: ' svninfo | awk '{print$$2} END { if(!NR) print "false" }'`; \
          else \
            issvn=false; \
            branch=unknown; \