Skip to content

Commit

Permalink
Fix autogen.sh
Browse files Browse the repository at this point in the history
There is situation after clone from git repository.
.tarball-version doesn't exists in this time.
  • Loading branch information
michal-josef-spacek authored and rurban committed Jul 31, 2024
1 parent 11e50f5 commit 6f1d6ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ set -x
rm -rf autom4te.cache config.status
if test -d .git -a -f build-aux/git-version-gen; then
git fetch --tags
rm .tarball-version
if [ -f .tarball-version ]; then
rm .tarball-version
fi
v=$(build-aux/git-version-gen .tarball-version)
echo $v >.tarball-version
echo $v >.version
Expand Down

0 comments on commit 6f1d6ee

Please sign in to comment.