The path to bash on FreeBSD is /usr/local/bin/bash.
---
docs/make-links.sh | 2 +-
nbdkit.in | 2 +-
tests/make-pki.sh | 2 +-
tests/make-psk.sh | 2 +-
tests/test-blocksize.sh | 2 +-
tests/test-cache.sh | 2 +-
tests/test-captive.sh | 2 +-
tests/test-cow.sh | 2 +-
tests/test-cxx.sh | 2 +-
tests/test-dump-config.sh | 2 +-
tests/test-dump-plugin-example4.sh | 2 +-
tests/test-dump-plugin.sh | 2 +-
tests/test-foreground.sh | 2 +-
tests/test-fua.sh | 2 +-
tests/test-help-plugin.sh | 2 +-
tests/test-help.sh | 2 +-
tests/test-ip.sh | 2 +-
tests/test-layers.sh | 2 +-
tests/test-log.sh | 2 +-
tests/test-nozero.sh | 2 +-
tests/test-offset2.sh | 2 +-
tests/test-parallel-file.sh | 2 +-
tests/test-parallel-nbd.sh | 2 +-
tests/test-pattern-largest.sh | 2 +-
tests/test-pattern.sh | 2 +-
tests/test-python-exception.sh | 2 +-
tests/test-random-sock.sh | 2 +-
tests/test-shebang-perl.sh | 2 +-
tests/test-shebang-python.sh | 2 +-
tests/test-shebang-ruby.sh | 2 +-
tests/test-single.sh | 2 +-
tests/test-start.sh | 2 +-
tests/test-tls-psk.sh | 2 +-
tests/test-tls.sh | 2 +-
tests/test-truncate1.sh | 2 +-
tests/test-truncate2.sh | 2 +-
tests/test-vddk.sh | 2 +-
tests/test-version-filter.sh | 2 +-
tests/test-version-plugin.sh | 2 +-
tests/test-version.sh | 2 +-
tests/test-zero.sh | 2 +-
41 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/docs/make-links.sh b/docs/make-links.sh
index ccf4554..048bb6c 100755
--- a/docs/make-links.sh
+++ b/docs/make-links.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/nbdkit.in b/nbdkit.in
index fc269d1..0469f1a 100644
--- a/nbdkit.in
+++ b/nbdkit.in
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# @configure_input@
# Copyright (C) 2017-2018 Red Hat Inc.
diff --git a/tests/make-pki.sh b/tests/make-pki.sh
index 413d898..bba92f7 100755
--- a/tests/make-pki.sh
+++ b/tests/make-pki.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/make-psk.sh b/tests/make-psk.sh
index 5e27ea5..4c4a648 100755
--- a/tests/make-psk.sh
+++ b/tests/make-psk.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-blocksize.sh b/tests/test-blocksize.sh
index e008f5e..de407c5 100755
--- a/tests/test-blocksize.sh
+++ b/tests/test-blocksize.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-cache.sh b/tests/test-cache.sh
index da1f6d3..6f058b8 100755
--- a/tests/test-cache.sh
+++ b/tests/test-cache.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-captive.sh b/tests/test-captive.sh
index aca735b..d993ad5 100755
--- a/tests/test-captive.sh
+++ b/tests/test-captive.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-cow.sh b/tests/test-cow.sh
index 7211958..5bde829 100755
--- a/tests/test-cow.sh
+++ b/tests/test-cow.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-cxx.sh b/tests/test-cxx.sh
index 8f3e79b..1852565 100755
--- a/tests/test-cxx.sh
+++ b/tests/test-cxx.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017-2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-dump-config.sh b/tests/test-dump-config.sh
index fcbff48..8ba393d 100755
--- a/tests/test-dump-config.sh
+++ b/tests/test-dump-config.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-dump-plugin-example4.sh b/tests/test-dump-plugin-example4.sh
index 55cb5a0..bff3b76 100755
--- a/tests/test-dump-plugin-example4.sh
+++ b/tests/test-dump-plugin-example4.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-dump-plugin.sh b/tests/test-dump-plugin.sh
index 9add962..e08db84 100755
--- a/tests/test-dump-plugin.sh
+++ b/tests/test-dump-plugin.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-foreground.sh b/tests/test-foreground.sh
index a889226..2d4ea72 100755
--- a/tests/test-foreground.sh
+++ b/tests/test-foreground.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-fua.sh b/tests/test-fua.sh
index 22e0fa6..22a03ef 100755
--- a/tests/test-fua.sh
+++ b/tests/test-fua.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-help-plugin.sh b/tests/test-help-plugin.sh
index c083a09..5054115 100755
--- a/tests/test-help-plugin.sh
+++ b/tests/test-help-plugin.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-help.sh b/tests/test-help.sh
index 0a4602b..c4d4454 100755
--- a/tests/test-help.sh
+++ b/tests/test-help.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-ip.sh b/tests/test-ip.sh
index 4bd841e..12448c4 100755
--- a/tests/test-ip.sh
+++ b/tests/test-ip.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2016-2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-layers.sh b/tests/test-layers.sh
index 3a4490f..f89eda3 100755
--- a/tests/test-layers.sh
+++ b/tests/test-layers.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-log.sh b/tests/test-log.sh
index 8948c2c..7b2c7be 100755
--- a/tests/test-log.sh
+++ b/tests/test-log.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-nozero.sh b/tests/test-nozero.sh
index 77fda0b..781b196 100755
--- a/tests/test-nozero.sh
+++ b/tests/test-nozero.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-offset2.sh b/tests/test-offset2.sh
index 78bb690..c37e060 100755
--- a/tests/test-offset2.sh
+++ b/tests/test-offset2.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-parallel-file.sh b/tests/test-parallel-file.sh
index d032bf7..fdc8a1b 100755
--- a/tests/test-parallel-file.sh
+++ b/tests/test-parallel-file.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017-2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-parallel-nbd.sh b/tests/test-parallel-nbd.sh
index cfb9391..e793c11 100755
--- a/tests/test-parallel-nbd.sh
+++ b/tests/test-parallel-nbd.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017-2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-pattern-largest.sh b/tests/test-pattern-largest.sh
index 9789675..2a903bf 100755
--- a/tests/test-pattern-largest.sh
+++ b/tests/test-pattern-largest.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-pattern.sh b/tests/test-pattern.sh
index c6e605d..68022c9 100755
--- a/tests/test-pattern.sh
+++ b/tests/test-pattern.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-python-exception.sh b/tests/test-python-exception.sh
index fd94827..567853a 100755
--- a/tests/test-python-exception.sh
+++ b/tests/test-python-exception.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-random-sock.sh b/tests/test-random-sock.sh
index 35ff637..0a313f5 100755
--- a/tests/test-random-sock.sh
+++ b/tests/test-random-sock.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-shebang-perl.sh b/tests/test-shebang-perl.sh
index 8d4426d..4456741 100755
--- a/tests/test-shebang-perl.sh
+++ b/tests/test-shebang-perl.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-shebang-python.sh b/tests/test-shebang-python.sh
index 191d663..5f1d024 100755
--- a/tests/test-shebang-python.sh
+++ b/tests/test-shebang-python.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-shebang-ruby.sh b/tests/test-shebang-ruby.sh
index e8d9c89..ad14b94 100755
--- a/tests/test-shebang-ruby.sh
+++ b/tests/test-shebang-ruby.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-single.sh b/tests/test-single.sh
index b4aefcc..dc6ce34 100755
--- a/tests/test-single.sh
+++ b/tests/test-single.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-start.sh b/tests/test-start.sh
index 46baa79..dc578e7 100755
--- a/tests/test-start.sh
+++ b/tests/test-start.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2014 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-tls-psk.sh b/tests/test-tls-psk.sh
index e7954bb..3d485ba 100755
--- a/tests/test-tls-psk.sh
+++ b/tests/test-tls-psk.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-tls.sh b/tests/test-tls.sh
index dcf34a2..71bd8a4 100755
--- a/tests/test-tls.sh
+++ b/tests/test-tls.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-truncate1.sh b/tests/test-truncate1.sh
index d522d70..719f63b 100755
--- a/tests/test-truncate1.sh
+++ b/tests/test-truncate1.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-truncate2.sh b/tests/test-truncate2.sh
index 8b57184..0295b96 100755
--- a/tests/test-truncate2.sh
+++ b/tests/test-truncate2.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-vddk.sh b/tests/test-vddk.sh
index 5ccfff1..d3d6c21 100755
--- a/tests/test-vddk.sh
+++ b/tests/test-vddk.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-version-filter.sh b/tests/test-version-filter.sh
index 4fca70b..f7dc985 100755
--- a/tests/test-version-filter.sh
+++ b/tests/test-version-filter.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2016-2018 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-version-plugin.sh b/tests/test-version-plugin.sh
index 6086807..379e53f 100755
--- a/tests/test-version-plugin.sh
+++ b/tests/test-version-plugin.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2016 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-version.sh b/tests/test-version.sh
index 52af147..9bfcc9b 100755
--- a/tests/test-version.sh
+++ b/tests/test-version.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2016 Red Hat Inc.
# All rights reserved.
diff --git a/tests/test-zero.sh b/tests/test-zero.sh
index 1f4549c..2c5cece 100755
--- a/tests/test-zero.sh
+++ b/tests/test-zero.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
# nbdkit
# Copyright (C) 2017-2018 Red Hat Inc.
# All rights reserved.
--
2.18.0