Fix spaced paths with brew bottle.

We shouldn't ever really have these but better to be safe than sorry.
This commit is contained in:
Mike McQuaid 2010-12-01 23:04:33 +00:00
parent bc724bd31e
commit 55aa2a296b

View File

@ -15,7 +15,7 @@ ARGV.each do|formula|
HOMEBREW_CELLAR.cd do
# Use gzip, much faster than bzip2 and hardly any file size difference
# when compressing binaries.
safe_system "tar czf #{destination}/#{filename} #{formula}/#{version}"
safe_system 'tar', 'czf', "#{destination}/#{filename}", "#{formula}/#{version}"
end
ohai "Bottled #{filename}"
end