diff options
Diffstat (limited to 'yummirror.sh')
-rwxr-xr-x | yummirror.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yummirror.sh b/yummirror.sh index d423515..6cc9630 100755 --- a/yummirror.sh +++ b/yummirror.sh @@ -81,6 +81,9 @@ then inurl="${newurl}" fi +# clean up trailing slashes +inurl="${inurl%%/}" + # sync to workdir wget_verbose=--quiet test -n "${VERBOSE}" && unset wget_verbose |