]> gitweb.michael.orlitzky.com - dead/whatever-dl.git/blobdiff - src/wget_downloader.rb
Use single quotes around the URL in our 'wget' command.
[dead/whatever-dl.git] / src / wget_downloader.rb
index ce4c760b5f2784c67db4ee2fcf2fe1951bb252da..82235d594bd34408d5cb464dcb88eefd6e0618a4 100644 (file)
@@ -34,7 +34,7 @@ class WgetDownloader < Downloader
     end
 
     # This one's easy.
-    cmd = "wget #{options} -O \"#{outfile}\" \"#{url}\""
+    cmd = "wget #{options} -O '#{outfile}' '#{url}'"
     puts "\nExecuting external command: #{cmd}\n\n"
     Kernel.exec(cmd)
   end