Mercurial > hg > octave-nkf > gnulib-hg
changeset 9806:88f73fbd046d
Tweak "gnulib --version" output.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 23 Mar 2008 12:28:46 +0100 |
parents | d3af04de9f0b |
children | 24b7b77b3295 |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- a/gnulib-tool +++ b/gnulib-tool @@ -209,7 +209,7 @@ 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