Fix default tarball mask

This commit is contained in:
Michael Raskin 2014-07-01 12:01:11 +04:00
parent 2480f2465c
commit 8ed1aeb712

View file

@ -128,7 +128,7 @@ ensure_choice () {
echo "CURRENT_URL: $CURRENT_URL" >&2
[ -z "$URL_WAS_SET" ] && [ -z "$CURRENT_URL" ] && ensure_url
[ -n "$NEED_TO_CHOOSE_URL" ] && {
version_link "${DL_URL_RE:-'[.]tar[.]([^./])+$'}"
version_link "${DL_URL_RE:-[.]tar[.]([^./])+\$}"
unset NEED_TO_CHOOSE_URL
}
[ -z "$CURRENT_URL" ] && {