diff options
| author | eregon | 2011-08-17 02:39:20 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-08-19 09:51:32 -0700 |
| commit | 34ba5033aeb2b8dd529d07d0a7a961f85a144af0 (patch) | |
| tree | 5723f2028ed957892647362a013fbc948114740f | |
| parent | a9fa8633b59ff863e841f21d78a83906a1233be8 (diff) | |
| download | homebrew-34ba5033aeb2b8dd529d07d0a7a961f85a144af0.tar.bz2 | |
highlight's conf_dir should end with /
Otherwise, it produces a runtime error:
"cannot open /usr/local/etc/highlightfiletypes.conf: No such file or directory"
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/highlight.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/highlight.rb b/Library/Formula/highlight.rb index 7a5830d65..a4fc6c2b9 100644 --- a/Library/Formula/highlight.rb +++ b/Library/Formula/highlight.rb @@ -9,7 +9,8 @@ class Highlight < Formula depends_on 'lua' def install - system "make", "PREFIX=#{prefix}", "conf_dir=#{etc}/highlight" - system "make", "PREFIX=#{prefix}", "conf_dir=#{etc}/highlight", "install" + conf_dir = etc+'highlight/' # highlight needs a final / for conf_dir + system "make", "PREFIX=#{prefix}", "conf_dir=#{conf_dir}" + system "make", "PREFIX=#{prefix}", "conf_dir=#{conf_dir}", "install" end end |
