diff options
author | Alex Richardson <arichardson@FreeBSD.org> | 2022-05-25 21:33:17 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2022-08-10 11:18:20 +0000 |
commit | 295912045e12b9ed436b3eb10e3147f22d79199b (patch) | |
tree | 8226c7b73d6b0705955591b5915643e609d5b947 /tools | |
parent | 17db7f268af5393967e3111ca2fc47249f5a9929 (diff) | |
download | dbus-295912045e12b9ed436b3eb10e3147f22d79199b.tar.gz |
tools/ci-{build,install}.sh: Use a portable interpreter argument
FreeBSD has bash installed as /usr/local/bin/bash, so hardcoding /bin/bash
does not work. Instead use the portable replacement using env which will
find bash in $PATH.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/ci-build.sh | 2 | ||||
-rwxr-xr-x | tools/ci-install.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ci-build.sh b/tools/ci-build.sh index 6e907deb..a71214db 100755 --- a/tools/ci-build.sh +++ b/tools/ci-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright © 2015-2016 Collabora Ltd. # Copyright © 2020 Ralf Habacker <ralf.habacker@freenet.de> diff --git a/tools/ci-install.sh b/tools/ci-install.sh index ee9d3499..790e7a93 100755 --- a/tools/ci-install.sh +++ b/tools/ci-install.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright © 2015-2016 Collabora Ltd. # |