diff options
author | B. Watson <yalhcru@gmail.com> | 2015-10-15 22:23:25 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2015-10-15 22:23:25 -0400 |
commit | 6ac0db861e3ee0cb71a14108dc2cefe7e1962e7e (patch) | |
tree | 8630cfc5f9f2e4ad6cf1e6e87f90e123376d1708 | |
parent | 8fd35a241e2daa34ef67b3b34c4c9858bb9a44cb (diff) | |
download | sbostuff-6ac0db861e3ee0cb71a14108dc2cefe7e1962e7e.tar.gz |
sbosrcarch: quote -O arg in wget()
-rwxr-xr-x | sbosrcarch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -593,7 +593,7 @@ sub wget { # versions of wget don't actually need this, but it doesn't hurt. my $cmd = "wget $wget_config_arg " . user_agent($url) . " " . - ($head ? "--spider --tries 1" : "-O " . url_to_filename($url)) . + ($head ? "--spider --tries 1" : "-O '" . url_to_filename($url) . "'") . " $wgetargs " . "'$url' " . ">$outfile 2>&1"; |