diff options
-rwxr-xr-x | obsmirror.sh/obsmirror.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |