scripts: Remove setting of PATH from functions file
commitd02a645691e088a478ef8a836117668736cbbab3
authorMartin Schwenke <martin@meltin.net>
Wed, 16 Oct 2013 23:52:00 +0000 (17 10:52 +1100)
committerAmitay Isaacs <amitay@gmail.com>
Tue, 22 Oct 2013 03:34:04 +0000 (22 14:34 +1100)
treefa41d39b44f1f93f2b84997fbf140ba3006fb224
parent5d65335d602eea73598e7f267f5bca84944c978c
scripts: Remove setting of PATH from functions file

The current setting is inconsistent with settings on most systems,
putting /bin before /sbin.  Use of /usr/local/bin, which may be
required on some systems, is also overridden.  This can make it
difficult to do interactive debugging of script problems.

Rely on the system PATH instead.

If system-specific changes need to be made then this can be done in a
configuration file.

Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit cfbff39e22e42f3997f637290748290833525714)
ctdb/config/functions