From f2a2dbbeb9a1f61d68e1fe475b0c3d3a9c89f7f3 Mon Sep 17 00:00:00 2001 From: a1346054 <36859588+a1346054@users.noreply.github.com> Date: Thu, 19 Aug 2021 13:58:39 +0000 Subject: [PATCH] bash: Invoke bash using /usr/bin/env Signed-off-by: a1346054 <36859588+a1346054@users.noreply.github.com> --- ci/builddeps.sh | 2 +- demos/flatpak-run.sh | 2 +- tests/test-run.sh | 2 +- tests/test-specifying-pidns.sh | 2 +- tests/test-specifying-userns.sh | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ci/builddeps.sh b/ci/builddeps.sh index 1fcb040..b6dae0b 100755 --- a/ci/builddeps.sh +++ b/ci/builddeps.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2021 Simon McVittie # SPDX-License-Identifier: LGPL-2.0-or-later diff --git a/demos/flatpak-run.sh b/demos/flatpak-run.sh index 0594195..9149310 100755 --- a/demos/flatpak-run.sh +++ b/demos/flatpak-run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # For this to work you first have to run these commands: # curl -O http://sdk.gnome.org/nightly/keys/nightly.gpg # flatpak --user remote-add --gpg-key=nightly.gpg gnome-nightly http://sdk.gnome.org/nightly/repo/ diff --git a/tests/test-run.sh b/tests/test-run.sh index eb0655e..270979d 100755 --- a/tests/test-run.sh +++ b/tests/test-run.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -xeuo pipefail diff --git a/tests/test-specifying-pidns.sh b/tests/test-specifying-pidns.sh index 8953d44..b0db6d0 100755 --- a/tests/test-specifying-pidns.sh +++ b/tests/test-specifying-pidns.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -xeuo pipefail diff --git a/tests/test-specifying-userns.sh b/tests/test-specifying-userns.sh index 476ca73..94654a5 100755 --- a/tests/test-specifying-userns.sh +++ b/tests/test-specifying-userns.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -xeuo pipefail