]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
tools/ci-{build,install}.sh: Use a portable interpreter argument
authorAlex Richardson <arichardson@FreeBSD.org>
Wed, 25 May 2022 21:33:17 +0000 (21:33 +0000)
committerSimon McVittie <smcv@collabora.com>
Wed, 10 Aug 2022 11:18:20 +0000 (11:18 +0000)
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.

tools/ci-build.sh
tools/ci-install.sh

index 6e907deb1177e8039679ceb8214549130591e383..a71214db1b7eafb1ed1751e263e2795322e7af32 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Copyright © 2015-2016 Collabora Ltd.
 # Copyright © 2020 Ralf Habacker <ralf.habacker@freenet.de>
index ee9d3499e5177450e56a1185b069384f50fe5fc7..790e7a9316e7af01039c36794a5ba3f055ab4a7a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Copyright © 2015-2016 Collabora Ltd.
 #