From 6ac0db861e3ee0cb71a14108dc2cefe7e1962e7e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 15 Oct 2015 22:23:25 -0400 Subject: sbosrcarch: quote -O arg in wget() --- sbosrcarch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbosrcarch') 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"; -- cgit v1.2.3