scripts: Do not hard-code /bin/bash.

Instead, use Bash from PATH.  This approach works universally, even in
environments not strictly adhering to the File Hierarchy
Standard (FHS).

Change-Id: I852c5f4bba3a1bee9b895dcb5da24e5738c4186a
This commit is contained in:
Maxim Cournoyer
2021-03-09 11:05:16 -05:00
parent 29799dbadf
commit 90d7aed63a
4 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then

View File

@ -1,4 +1,4 @@
#!/bin/bash -
#!/usr/bin/env bash
#
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
#

View File

@ -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 ../../..
cd ../../..

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
#