diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/qt.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/qt.rb b/Library/Formula/qt.rb index 2b4562ebd..313fb99a6 100644 --- a/Library/Formula/qt.rb +++ b/Library/Formula/qt.rb @@ -94,9 +94,8 @@ class Qt < Formula # Some config scripts will only find Qt in a "Frameworks" folder # VirtualBox is an example of where this is needed # See: https://github.com/mxcl/homebrew/issues/issue/745 - # TODO - surely this link can be made without the `cd` cd prefix do - ln_s lib, "Frameworks" + ln_s lib, prefix + "Frameworks" end # The pkg-config files installed suggest that headers can be found in the @@ -106,6 +105,10 @@ class Qt < Formula framework_name = File.basename(File.dirname(path), '.framework') ln_s path.realpath, include+framework_name end + + Pathname.glob(bin + '*.app').each do |path| + mv path, prefix + end end def test |
