libnetwork.lib.in: replace '%2B' with '+' in RPMS and SRPMS file list retrieval
This commit is contained in:
parent
e5218ce90e
commit
fadd2fbc2e
@ -232,7 +232,7 @@ getting list of files from"" \`${NOTE}$currurl/${NORM}'..."
|
||||
notify.debug "$FUNCNAME: curl return code: $retval"
|
||||
|
||||
case "$retval" in
|
||||
0) sed -i 's/\x0D$//' $currflist
|
||||
0) sed -i 's/\x0D$//;/%2B/+/g' $currflist
|
||||
flist[$i]="$currflist" ;;
|
||||
6) notify.warning $"couldn't resolve host"
|
||||
let "errors += 1" ;;
|
||||
@ -424,7 +424,7 @@ ${proxy:+ --proxy ***}${proxy_user:+ --proxy-user ***}"
|
||||
esac
|
||||
|
||||
if [ -s "$flist" ]; then
|
||||
sed -i 's/\x0D$//' $flist
|
||||
sed -i 's/\x0D$//;s/%2B/+/g' $flist
|
||||
case $currurl in
|
||||
ftp://*|http://*|https://*)
|
||||
for pck_name in ${pck_names[@]}; do
|
||||
|
Loading…
Reference in New Issue
Block a user