GFortran: Properly quote paths in xar system call

Fixes Homebrew/homebrew#8871.
This commit is contained in:
Charlie Sharpsteen 2011-11-29 13:43:28 -08:00
parent c395d476d4
commit c83c82de85

View file

@ -5,7 +5,7 @@ class GfortranPkgDownloadStrategy <CurlDownloadStrategy
# The 4.2.4 compiler is distributed as a OS X 10.5
# package- a single flat xar archive instead of a
# bundle.
safe_system "/usr/bin/xar -xf #{@tarball_path}"
safe_system '/usr/bin/xar', '-xf', @tarball_path
chdir
# Clean up.