aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2015-10-15 22:23:25 -0400
committerB. Watson <yalhcru@gmail.com>2015-10-15 22:23:25 -0400
commit6ac0db861e3ee0cb71a14108dc2cefe7e1962e7e (patch)
tree8630cfc5f9f2e4ad6cf1e6e87f90e123376d1708
parent8fd35a241e2daa34ef67b3b34c4c9858bb9a44cb (diff)
downloadsbostuff-6ac0db861e3ee0cb71a14108dc2cefe7e1962e7e.tar.gz
sbosrcarch: quote -O arg in wget()
-rwxr-xr-xsbosrcarch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbosrcarch b/sbosrcarch
index 9f188e8..a6383c1 100755
--- a/sbosrcarch
+++ b/sbosrcarch
@@ -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";