aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Holm2014-04-16 14:32:19 +0200
committerBrett Koonce2014-04-17 21:15:59 -0500
commitf8236b59f79fd0334f8a1e239dd6538a9f738ff1 (patch)
treeb50950251a1405706e5ea2e145d26953a719fd36 /Library
parent26b04eb7a0b4162f53ce9e4e0d040aed99c86347 (diff)
downloadhomebrew-f8236b59f79fd0334f8a1e239dd6538a9f738ff1.tar.bz2
plan9port: caveat on how to run Plan 9 commands
Closes #28444. Signed-off-by: Brett Koonce <koonce@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/plan9port.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/plan9port.rb b/Library/Formula/plan9port.rb
index deacd704a..e0c87d91c 100644
--- a/Library/Formula/plan9port.rb
+++ b/Library/Formula/plan9port.rb
@@ -14,6 +14,16 @@ class Plan9port < Formula
prefix.install Dir["#{libexec}/mac/*.app"]
end
+ def caveats; <<-EOS.undent
+ In order not to collide with OSX system binaries, the Plan 9 binaries have
+ been installed to #{libexec}/bin.
+ To run the Plan 9 version of a command simply call it through the command
+ "9", which has been installed into the Homebrew prefix bin. For example,
+ to run Plan 9's ls run:
+ # 9 ls
+ EOS
+ end
+
test do
(testpath/"test.c").write <<-EOS.undent
#include <u.h>