1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

Scripts: add note about not using absolute command paths to README.

Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit 87e6a4a23a6ae6c276e9628ce513663f47b4ee77)
This commit is contained in:
Martin Schwenke 2011-06-28 17:29:49 +10:00
parent d81c1319e9
commit 71e9016ec2

View File

@ -25,6 +25,13 @@ Selected highlights:
rpc.statd high-availability callout to support lock migration on
failover.
Note that all of these scripts are written in POSIX Bourne shell.
Please avoid bash-isms, including the use of "local" variables (which
are not available in POSIX shell).
Notes:
* All of these scripts are written in POSIX Bourne shell. Please
avoid bash-isms, including the use of "local" variables (which are
not available in POSIX shell).
* Do not use absolute paths for commands. Unit tests attempt to
replace many commands with stubs and can not do this if commands are
specified with absolute paths. The functions file controls $PATH so
absolute paths should not be required.