diff options
| author | Adam Vandenberg | 2014-05-16 13:35:52 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-16 13:36:03 -0700 |
| commit | a48c569ac9a71963129ed9d2499be6248036df87 (patch) | |
| tree | 1392ca06e56b6073d33c9812c7cf82746e3ba43d /Library/Formula | |
| parent | 967b3bccddd8a07b9a1132725fcab003e3198192 (diff) | |
| download | homebrew-a48c569ac9a71963129ed9d2499be6248036df87.tar.bz2 | |
monotone: remove bash completion script
Closes #29272.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/monotone.rb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Library/Formula/monotone.rb b/Library/Formula/monotone.rb index 6b8fa3699..aec238016 100644 --- a/Library/Formula/monotone.rb +++ b/Library/Formula/monotone.rb @@ -6,9 +6,6 @@ class Monotone < Formula sha1 "2b97559b252decaee3a374b81bf714cf33441ba3" bottle do - sha1 "70755c4f5193a0e2848f8af7430a44884b3622e2" => :mavericks - sha1 "5121ea09374b924b087f50b72e7754f27d7c4c2a" => :mountain_lion - sha1 "94730a4384bda8b5f13967dd92bc2ba80060b7c5" => :lion end depends_on "pkg-config" => :build @@ -34,5 +31,14 @@ class Monotone < Formula system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" + + # Explicitly remove the bash completion script, as it uses features + # specific to Bash 4, and the default on OS X is Bash 3. + # Specifically, it uses `declare -A` to declare associate arrays. + # If this completion script is installed on Bash 3 along with + # bash-completion, it will be auto-sourced and cause error messages + # every time a new terminal is opened. See: + # https://github.com/Homebrew/homebrew/issues/29272 + rm prefix/"etc/bash_completion.d/monotone.bash_completion" end end |
