From fadd2fbc2e5bdf62f1a7bad9cd652833c7aed21d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 9 Jun 2024 14:25:32 +0200 Subject: [PATCH] libnetwork.lib.in: replace '%2B' with '+' in RPMS and SRPMS file list retrieval --- lib/libnetwork.lib.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index 673332a..8753db1 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -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