Tweak "gnulib --version" output.
authorBruno Haible <bruno@clisp.org>
Sun, 23 Mar 2008 11:28:46 +0000 (12:28 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 23 Mar 2008 11:28:46 +0000 (12:28 +0100)
ChangeLog
gnulib-tool

index 7e2b4d6263cac194cb12c4749e42b83f14213353..f20f7988b7760aa2958e3ca0a6a599d1364ad631 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       Tweak "gnulib --version" output.
+       * gnulib-tool (func_version): Replace "-dirty" suffix with "-modified".
+
 2008-03-23  Bruno Haible  <bruno@clisp.org>
 
        Tweak "gnulib --version" output.
index a86e4eed746a29abc9817ef5f886058c2c9cf15c..df7253240da68197bc72b98fcf58ce7e161f5647 100755 (executable)
@@ -209,7 +209,7 @@ q
     date=`echo "$date" | sed -e "$sed_year_before_time"`
     # Use GNU date to compute the time in GMT.
     date=`date -d "$date" -u +"%Y-%m-%d %H:%M:%S"`
-    version=' '`"$gnulib_dir"/build-aux/git-version-gen /dev/null`
+    version=' '`"$gnulib_dir"/build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'`
   else
     if test -d "$gnulib_dir"/CVS \
        && (cvs --version) >/dev/null 2>/dev/null; then