diff options
author | J Pipkin <j@dawnrazor.net> | 2013-01-13 01:30:08 -0600 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2013-01-13 01:30:08 -0600 |
commit | bf14c91b2b68964bb5698219c562cb671b1f067e (patch) | |
tree | fa84c32062b0f28acf63013589861d6dc8298af0 /SBO-Lib/lib | |
parent | 32abf3c7e9183cfe79019c748e588496722f7426 (diff) | |
download | sbotools2-bf14c91b2b68964bb5698219c562cb671b1f067e.tar.xz |
use quotes around $link in call to wget to deal special characters in links
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r-- | SBO-Lib/lib/SBO/Lib.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm index 83fbe3c..8d2de38 100644 --- a/SBO-Lib/lib/SBO/Lib.pm +++ b/SBO-Lib/lib/SBO/Lib.pm @@ -485,7 +485,7 @@ sub get_distfile { mkdir $distfiles unless -d $distfiles; chdir $distfiles; unlink $filename if -f $filename; - if (system("wget --no-check-certificate $link") != 0) { + if (system("wget --no-check-certificate \"$link\"") != 0) { return "Unable to wget $link.\n", _ERR_DOWNLOAD; } # can't do anything if the link in the .info doesn't lead to a good d/l |