aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Schuller2011-10-22 23:26:05 +0200
committerAdam Vandenberg2011-10-22 14:35:57 -0700
commit031f90ba23cffc207d2904bc9b0a38810a68f40c (patch)
treeda52b14e4459594253bcc1c027d0d0c7dda405a1
parent881ec9bf18590e576e80d8b767158ab554cab783 (diff)
downloadhomebrew-031f90ba23cffc207d2904bc9b0a38810a68f40c.tar.bz2
chmod clojure's .jar to 644 so non-owners can read it.
Else other users than installer cannot run 'clj'. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
-rw-r--r--Library/Formula/clojure.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/clojure.rb b/Library/Formula/clojure.rb
index 6a962c18b..4bbcb613e 100644
--- a/Library/Formula/clojure.rb
+++ b/Library/Formula/clojure.rb
@@ -25,6 +25,7 @@ class Clojure < Formula
def install
system "ant" if ARGV.build_head?
prefix.install 'clojure-1.3.0.jar'
+ (prefix+'clojure-1.3.0.jar').chmod(0644) # otherwise it's 0600
(prefix+'classes').mkpath
(bin+'clj').write script
end