summaryrefslogtreecommitdiff
path: root/src/librefetch
diff options
context:
space:
mode:
Diffstat (limited to 'src/librefetch')
-rwxr-xr-xsrc/librefetch/librefetch4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch
index 4f2d788..fdc7e00 100755
--- a/src/librefetch/librefetch
+++ b/src/librefetch/librefetch
@@ -160,8 +160,8 @@ main() {
local dlcmd="${DOWNLOADER}"
[[ $dlcmd = *%u* ]] || dlcmd="$dlcmd %u"
- dlcmd="${dlcmd//\%o/"\$dst"}"
- dlcmd="${dlcmd//\%u/"\$src"}"
+ dlcmd="${dlcmd//\%o/\"\$dst\"}"
+ dlcmd="${dlcmd//\%u/\"\$src\"}"
{ eval "$dlcmd"; } >&2 && return 0
fi