diff options
| author | Adam Vandenberg | 2010-06-01 20:32:15 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-01 20:32:15 -0700 |
| commit | aa0918eebcbed603f4b561b85cf56008bfeb9bae (patch) | |
| tree | 423cb28cca6b54877ac524f588444d78bcd391f9 /Library | |
| parent | 4743c81628004af9134bab930e4be15335ae671d (diff) | |
| download | homebrew-aa0918eebcbed603f4b561b85cf56008bfeb9bae.tar.bz2 | |
Fix perl path for ghc-asm
Fixes #1433.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/ghc.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/ghc.rb b/Library/Formula/ghc.rb index d11c7ba0a..34602b37d 100644 --- a/Library/Formula/ghc.rb +++ b/Library/Formula/ghc.rb @@ -38,6 +38,7 @@ class Ghc <Formula # Fix paths replace_all "/Library/Frameworks/GHC.framework/Versions/#{short_version}/usr/lib/ghc-#{version}", "#{lib}/ghc" replace_all "/Library/Frameworks/GHC.framework/Versions/#{short_version}/usr", prefix + inreplace "lib/ghc-#{version}/ghc-asm", "#!/opt/local/bin/perl", "#!/usr/bin/env perl" mv "lib/ghc-#{version}", 'lib/ghc' prefix.install ['bin', 'lib', 'share'] |
