diff options
Diffstat (limited to 'Library/Formula/newlisp.rb')
| -rw-r--r-- | Library/Formula/newlisp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/newlisp.rb b/Library/Formula/newlisp.rb index 019f42361..3bcfb6bbe 100644 --- a/Library/Formula/newlisp.rb +++ b/Library/Formula/newlisp.rb @@ -15,7 +15,7 @@ class Newlisp < Formula system "make" # Many .lsp files assume the interpreter will be installed in /usr/bin - Dir.glob("**/*.lsp") do |f| + Dir["**/*.lsp"].each do |f| inreplace f do |s| s.gsub! "!#/usr/bin/newlisp", "!#/usr/bin/env newlisp" s.gsub! "/usr/bin/newlisp", "#{bin}/newlisp" |
