git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ba5fb2
)
ctdb-tools: Improve portability by not using /bin/bash directly
author
Martin Schwenke
<martin@meltin.net>
Sun, 1 Jul 2018 09:47:37 +0000
(19:47 +1000)
committer
Martin Schwenke
<martins@samba.org>
Sat, 28 Jul 2018 01:50:10 +0000
(
03:50
+0200)
FreeBSD and others do not have /bin/bash, so use "/usr/bin/env bash"
for better flexibility.
There are still many integration tests that use /bin/bash but this at
least lets FreeBSD start running tests.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/onnode
patch
|
blob
|
history
diff --git
a/ctdb/tools/onnode
b/ctdb/tools/onnode
index f94423251a83e50c4381a8bcb5b14f46d47d152d..50fc6a732d5854b72070fc7f0d9bfeacfa1f0d37 100755
(executable)
--- a/
ctdb/tools/onnode
+++ b/
ctdb/tools/onnode
@@
-1,4
+1,4
@@
-#!/
bin/
bash
+#!/
usr/bin/env
bash
# Run commands on CTDB nodes.