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>
master
Peter Schuller 2011-10-22 23:26:05 +02:00 committed by Adam Vandenberg
parent e9f525cf47
commit 17ad311125
1 changed files with 1 additions and 0 deletions

View File

@ -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