aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorCharlie Sharpsteen2012-10-01 03:16:16 -0500
committerCharlie Sharpsteen2012-10-01 03:16:16 -0500
commit73b9ffc569a2f16bd13d2d8c7d78503862b364ba (patch)
tree1818750cbb5dc82a471e6457e004a407bb753f57 /Library/Formula
parent1e4d006d357494fe873df06069937d8c45196ed0 (diff)
downloadhomebrew-73b9ffc569a2f16bd13d2d8c7d78503862b364ba.tar.bz2
r: Fix Framework link command in caveats
`sudo` is require to create symlinks in `/Library/Frameworks`. Fixes #15212.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/r.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/r.rb b/Library/Formula/r.rb
index 619a22433..0516773b9 100644
--- a/Library/Formula/r.rb
+++ b/Library/Formula/r.rb
@@ -64,7 +64,7 @@ class R < Formula
To use this Framework with IDEs such as RStudio, it must be linked
to the standard OS X location:
- ln -s "#{prefix}/R.framework" /Library/Frameworks
+ sudo ln -s "#{prefix}/R.framework" /Library/Frameworks
To enable rJava support, run the following command:
R CMD javareconf JAVA_CPPFLAGS=-I/System/Library/Frameworks/JavaVM.framework/Headers