You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by dc...@apache.org on 2021/03/09 22:00:22 UTC
[couchdb-erlfdb] branch main updated: look in /usr/local/bin/
before /usr/local/sbin/
This is an automated email from the ASF dual-hosted git repository.
dch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-erlfdb.git
The following commit(s) were added to refs/heads/main by this push:
new 281eceb look in /usr/local/bin/ before /usr/local/sbin/
new 50c1773 Merge pull request #19 from skunkwerks/fix/bsd-hier
281eceb is described below
commit 281eceb86643e8efd2969b07216a55cc97af7497
Author: Dave Cottlehuber <dc...@skunkwerks.at>
AuthorDate: Mon Jan 20 20:13:33 2020 +0000
look in /usr/local/bin/ before /usr/local/sbin/
according to [heir(7)](https://man.freebsd.org/cgi/hier) /sbin/ is for
binaries fundamental to single-user and multi-user environments, which
fdb is definitely not.
---
src/erlfdb_util.erl | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/erlfdb_util.erl b/src/erlfdb_util.erl
index 5a6224b..4dbbc7d 100644
--- a/src/erlfdb_util.erl
+++ b/src/erlfdb_util.erl
@@ -177,6 +177,7 @@ find_fdbserver_bin(Options) ->
undefined ->
[
<<"/usr/sbin/fdbserver">>,
+ <<"/usr/local/bin/fdbserver">>,
<<"/usr/local/sbin/fdbserver">>,
<<"/usr/local/libexec/fdbserver">>
];