Commit 720a2c18 authored by Sören Tempel's avatar Sören Tempel

abuild.in: don't fail if git describe fails

`git describe` by default looks for tags, but `git clone` does not clone
tags by default which causes failures on travis currently.

Also redirect `git describe` errors to /dev/null while being here.
parent be30cda3
......@@ -1548,7 +1548,7 @@ update_abuildrepo_index() {
subpkg_unset
if [ -z "$DESCRIPTION" ]; then
DESCRIPTION="$repo $(cd $startdir && $git describe)"
DESCRIPTION="$repo $(cd $startdir && $git describe 2>/dev/null || true)"
fi
for i in $allarch; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment