diff options
| author | Adam Vandenberg | 2013-11-10 10:10:41 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-10 10:10:41 -0800 |
| commit | a0c47cd141e6c53fd197937f11339b3780d42dcc (patch) | |
| tree | 530ed00ff959d1b6fd9981ac4133a8b61e604231 /Library | |
| parent | 623427d7eeca0fbaa52baac0b9bf91fe2e927698 (diff) | |
| download | homebrew-a0c47cd141e6c53fd197937f11339b3780d42dcc.tar.bz2 | |
maven: don't link m2.conf to bin
Closes #23087.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/maven.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/maven.rb b/Library/Formula/maven.rb index 59abccbf1..8bebe1ea3 100644 --- a/Library/Formula/maven.rb +++ b/Library/Formula/maven.rb @@ -10,10 +10,13 @@ class Maven < Formula rm_f Dir["bin/*.bat"] # Fix the permissions on the global settings file. - chmod 0644, Dir["conf/settings.xml"] + chmod 0644, 'conf/settings.xml' prefix.install_metafiles libexec.install Dir['*'] - bin.install_symlink Dir["#{libexec}/bin/*"] + + # Leave conf file in libexec. The mvn symlink will be resolved and the conf + # file will be found relative to it + bin.install_symlink Dir["#{libexec}/bin/*"] - ["#{libexec}/bin/m2.conf"] end end |
