diff --git a/doc/poxy.sh b/doc/poxy.sh index 806ea4c4..8d25a53a 100755 --- a/doc/poxy.sh +++ b/doc/poxy.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x diff --git a/images/anklangicons.sh b/images/anklangicons.sh index e827ab87..1ccd1c93 100755 --- a/images/anklangicons.sh +++ b/images/anklangicons.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail # set -x diff --git a/misc/checkinsertions.sh b/misc/checkinsertions.sh index b007411f..36893c21 100755 --- a/misc/checkinsertions.sh +++ b/misc/checkinsertions.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x diff --git a/misc/cirun b/misc/cirun index 32d52e71..6076814b 100755 --- a/misc/cirun +++ b/misc/cirun @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail && SCRIPTNAME=${0##*/} && die() { [ -z "$*" ] || echo "$SCRIPTNAME: $*" >&2; exit 127 ; } diff --git a/misc/colorize.sh b/misc/colorize.sh index ddaa04ed..3f9c1cf8 100755 --- a/misc/colorize.sh +++ b/misc/colorize.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail diff --git a/misc/mkAppImage.sh b/misc/mkAppImage.sh index 30aaf30c..b15fa120 100755 --- a/misc/mkAppImage.sh +++ b/misc/mkAppImage.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x diff --git a/misc/mkassets.sh b/misc/mkassets.sh index 848252db..25f93398 100755 --- a/misc/mkassets.sh +++ b/misc/mkassets.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail -x && SCRIPTNAME=${0##*/} && die() { [ -z "$*" ] || echo "$SCRIPTNAME: $*" >&2; exit 127 ; } diff --git a/misc/mkdeb.sh b/misc/mkdeb.sh index 8a56fd21..aeaecb54 100755 --- a/misc/mkdeb.sh +++ b/misc/mkdeb.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x @@ -99,7 +99,7 @@ gzip -9 $DEBCHANGELOG # DEBIAN/postinst cat <<\__EOF | -#!/bin/bash +#!/usr/bin/env bash set -e -o pipefail # Setcap cap_sys_nice to allow renincing for low latency processing @@ -127,7 +127,7 @@ chmod +x $DEBIAN/postinst # DEBIAN/postrm # Needed because Debian does not provide triggers for /usr/local/ cat <<\__EOF | -#!/bin/bash +#!/usr/bin/env bash set -e -o pipefail which update-mime-database >/dev/null 2>&1 && { mkdir -p @PREFIXDIR@/share/mime/packages # required by update-mime-database diff --git a/misc/mknews.sh b/misc/mknews.sh index 66627da1..51c5ff39 100755 --- a/misc/mknews.sh +++ b/misc/mknews.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x diff --git a/misc/publish.sh b/misc/publish.sh index fc195c59..59523070 100755 --- a/misc/publish.sh +++ b/misc/publish.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail && SCRIPTNAME=${0##*/} && die() { [ -z "$*" ] || echo "$SCRIPTNAME: $*" >&2; exit 127 ; } diff --git a/rand/hotspots.sh b/rand/hotspots.sh index 98d46b21..87a1ef43 100755 --- a/rand/hotspots.sh +++ b/rand/hotspots.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #set -x diff --git a/x11test/replay.sh b/x11test/replay.sh index 7f30cbe8..c64e5eca 100755 --- a/x11test/replay.sh +++ b/x11test/replay.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x diff --git a/x11test/x11rec.sh b/x11test/x11rec.sh index 2f6a7c60..5314be50 100755 --- a/x11test/x11rec.sh +++ b/x11test/x11rec.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0 set -Eeuo pipefail #-x