libnetwork.lib.in: fix SRPM download error for packages with '+' character (e.g. libxml++ did also match libxml++2)
This commit is contained in:
parent
3bcaa2cf38
commit
bb706d3ef4
@ -98,7 +98,7 @@ function repository.get_srpm_pckname_from_site() {
|
||||
notify.debug "$FUNCNAME: infile = \"$infile\""
|
||||
|
||||
local regexpr
|
||||
[[ "$pck_name" =~ ^[a-zA-Z0-9_-]+$ ]] && \
|
||||
[[ "$pck_name" =~ ^[+a-zA-Z0-9_-]+$ ]] && \
|
||||
regexpr="^$pck_name-[^-]\+-[^-]\+$" || regexpr="$pck_name"
|
||||
notify.debug "$FUNCNAME: regexpr = \"$regexpr\""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user