From 3edb8b0700af848932660ccf232fe8aaad5574d0 Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Fri, 26 Sep 2014 18:44:51 +0000 Subject: [PATCH] - allow build if requested tag matches current head --- builder.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/builder.sh b/builder.sh index d421351..99c11d9 100755 --- a/builder.sh +++ b/builder.sh @@ -1508,6 +1508,7 @@ set_pkgrev() { $GETURI $OUTFILEOPT $_tmp $PKGREVS_URL/set/$_rev/$_tag 1>/dev/null 2>&1 || Exit_error err_pkgrev_get "$1" local result=$(cat $_tmp) rm $_tmp 2>/dev/null + [ "$(get_pkgrev "$_tag")" = "$CVSTAG" ] && return 0 echo "$result" | grep -q -E "^OK$" && return 0 echo "$result" | grep -q -E "^EXISTS$" && Exit_error err_tag_exists "$_tag" Exit_error err_pkgrev_set -- 2.46.0