Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed outputdir for locate databases

`(g)updatedb` and `(g)locate` use databases which are
system-generated. Under hombrew they were generated in the `findutils`
tree, on other unix systems they live normally in `/var/locate` or
`/var/cache` under root. I set the default to `var/locate` under
`HOMEBREW_PREFIX`.
  • Loading branch information...
commit c8c74f6992d37e23f1baacd0d975210e21a04aec 1 parent f03a3b5
@halloleo authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  Library/Formula/findutils.rb
View
3  Library/Formula/findutils.rb
@@ -8,7 +8,8 @@ class Findutils < Formula
def install
system "./configure", "--prefix=#{prefix}", "--program-prefix=g",
- "--disable-dependency-tracking", "--disable-debug"
+ "--disable-dependency-tracking", "--disable-debug",
+ "--localstatedir=#{var}/locate"
system "make install"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.