forked from mirrors/nixpkgs
Fix default tarball mask
This commit is contained in:
parent
2480f2465c
commit
8ed1aeb712
|
@ -128,7 +128,7 @@ ensure_choice () {
|
||||||
echo "CURRENT_URL: $CURRENT_URL" >&2
|
echo "CURRENT_URL: $CURRENT_URL" >&2
|
||||||
[ -z "$URL_WAS_SET" ] && [ -z "$CURRENT_URL" ] && ensure_url
|
[ -z "$URL_WAS_SET" ] && [ -z "$CURRENT_URL" ] && ensure_url
|
||||||
[ -n "$NEED_TO_CHOOSE_URL" ] && {
|
[ -n "$NEED_TO_CHOOSE_URL" ] && {
|
||||||
version_link "${DL_URL_RE:-'[.]tar[.]([^./])+$'}"
|
version_link "${DL_URL_RE:-[.]tar[.]([^./])+\$}"
|
||||||
unset NEED_TO_CHOOSE_URL
|
unset NEED_TO_CHOOSE_URL
|
||||||
}
|
}
|
||||||
[ -z "$CURRENT_URL" ] && {
|
[ -z "$CURRENT_URL" ] && {
|
||||||
|
|
Loading…
Reference in a new issue