diff --git a/autogen.sh b/autogen.sh
index b0d90830879d162a0c1ac7eac83490ca034dee1f..74e170cfe1f77dfc02b79635eac8a15bfa922486 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 AUTORECONF=`which autoreconf`
 if test -z $AUTORECONF; then
diff --git a/bin/jni/make-swig.sh b/bin/jni/make-swig.sh
index 205c86d78b3d62007e441c14d18c2e46f04e63bb..8392c707faf36eadf1424bcbcf07c92eb18923bf 100755
--- a/bin/jni/make-swig.sh
+++ b/bin/jni/make-swig.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -
+#!/usr/bin/env bash
 #
 #  Copyright (C) 2004-2021 Savoir-faire Linux Inc.
 #
diff --git a/contrib/src/ffmpeg/windows-configure-make.sh b/contrib/src/ffmpeg/windows-configure-make.sh
index 15fb2ef5732972feeb00de44db53f9fc0c6d4907..794e1371e0669edce4442c08479e948e90fb088b 100644
--- a/contrib/src/ffmpeg/windows-configure-make.sh
+++ b/contrib/src/ffmpeg/windows-configure-make.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 set +x
 set +e
 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
@@ -200,4 +200,4 @@ set -x
 set -e
 ../../../configure $FFMPEGCONF --extra-cflags="${EXTRACFLAGS}" --extra-ldflags="${EXTRALDFLAGS}" --prefix="${PREFIX}"
 make -j8 install
-cd ../../..
\ No newline at end of file
+cd ../../..
diff --git a/tools/update-copyright b/tools/update-copyright
index 0547f2cb17e5df6550ff4b31cff5b4710c99a171..e4ebcd0b165c07f8de5585327f67058e896e0f92 100755
--- a/tools/update-copyright
+++ b/tools/update-copyright
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Copyright (C) 2004-2021 Savoir-faire Linux Inc.
 #