Commit 720a2c18 authored by Sören Tempel's avatar Sören Tempel
Browse files 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() {
if [ -z "$DESCRIPTION" ]; then
DESCRIPTION="$repo $(cd $startdir && $git describe)"
DESCRIPTION="$repo $(cd $startdir && $git describe 2>/dev/null || true)"
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