From b6079569abc61b6334c4c98b72a00e2094fa160b Mon Sep 17 00:00:00 2001 From: B Stack Date: Thu, 27 Feb 2020 15:39:15 -0500 Subject: fix the htmlization of + symbol --- obsmirror.sh/obsmirror.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obsmirror.sh/obsmirror.sh b/obsmirror.sh/obsmirror.sh index 2e913fb..8cafb2a 100755 --- a/obsmirror.sh/obsmirror.sh +++ b/obsmirror.sh/obsmirror.sh @@ -82,7 +82,7 @@ test -z "${thisuser}" && thisuser=obsmirror # loop over all entries and download them for thisurl in $( cat "${tmpfile}" ) ; do - thisfile="$( echo "${thisurl}" | sed -r -e "s@${inurl}@${workdir}@" )" + thisfile="$( echo "${thisurl}" | sed -r -e "s@${inurl}@${workdir}@" -e 's/%2B/+/g;' )" thisdir="$( dirname "${thisfile}" )" test -d "${thisdir}" || mkdir -p "${thisdir}" test -n "${VERBOSE}" && echo "FROM ${thisurl} TO ${thisfile}" -- cgit