summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-02-27 15:39:15 -0500
committerB Stack <bgstack15@gmail.com>2020-02-27 15:39:15 -0500
commitb6079569abc61b6334c4c98b72a00e2094fa160b (patch)
tree0e7921f22282155df24cf84a35fd84954949e46f
parentadd use_top_result flag, and timestamp sorting (diff)
downloadformer-gists-b6079569abc61b6334c4c98b72a00e2094fa160b.tar.gz
former-gists-b6079569abc61b6334c4c98b72a00e2094fa160b.tar.bz2
former-gists-b6079569abc61b6334c4c98b72a00e2094fa160b.zip
fix the htmlization of + symbol
-rwxr-xr-xobsmirror.sh/obsmirror.sh2
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}"
bgstack15