diff options
author | Bruno Haible <bruno@clisp.org> | 2019-10-13 17:33:17 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2019-10-13 17:33:17 +0200 |
commit | 8f41f19184ce8ae3ff2f7335fe064da826b76356 (patch) | |
tree | ea884a1f028be2e6453da2e3b20d74db37960745 /build-aux/git-version-gen | |
parent | d38175bd98a69c3c6070033d70d110281267cece (diff) | |
download | gnulib-8f41f19184ce8ae3ff2f7335fe064da826b76356.tar.gz |
git-version-gen: Allow 'snapshot' as .tarball-version contents.
* build-aux/git-version-gen: Don't map non-numeric .tarball-version
contents to the empty string.
Diffstat (limited to 'build-aux/git-version-gen')
-rwxr-xr-x | build-aux/git-version-gen | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index 45b5656e6f..d855645ef0 100755 --- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -142,11 +142,9 @@ then v=`cat $tarball_version_file` || v= case $v in *$nl*) v= ;; # reject multi-line output - [0-9]*) ;; - *) v= ;; esac test "x$v" = x \ - && echo "$0: WARNING: $tarball_version_file is missing or damaged" 1>&2 + && echo "$0: WARNING: $tarball_version_file is damaged" 1>&2 fi if test "x$v" != x |