From 73298ac8a9a87dcf3b3699dfdd39a8e865291620 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Sun, 1 Jul 2018 19:47:37 +1000 Subject: [PATCH] ctdb-tools: Improve portability by not using /bin/bash directly 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 Reviewed-by: Amitay Isaacs --- ctdb/tools/onnode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/tools/onnode b/ctdb/tools/onnode index f94423251a8..50fc6a732d5 100755 --- a/ctdb/tools/onnode +++ b/ctdb/tools/onnode @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Run commands on CTDB nodes. -- 2.47.3