[Doxygen] Fix dirty repo detection.
authorPeter D. Barnes, Jr. <barnes26@llnl.gov>
Wed, 22 Jul 2015 17:10:15 -0700
changeset 11534 df256d84a7fa
parent 11533 6769680336c8
child 11535 e9812cb35cef
[Doxygen] Fix dirty repo detection.
doc/ns3_html_theme/get_version.sh
--- a/doc/ns3_html_theme/get_version.sh	Wed Jul 22 17:09:55 2015 -0700
+++ b/doc/ns3_html_theme/get_version.sh	Wed Jul 22 17:10:15 2015 -0700
@@ -153,7 +153,7 @@
     version=`hg log -r tip --template '{node|short}'`
     # Check for uncommitted changes
     hg summary | grep -q 'commit: (clean)'
-    if [ ! $? ] ; then
+    if [ $? ] ; then
 	say "beyond latest tag, last commit: $version, dirty"
 	dirty="(+)"
     else