Skip to content
Snippets Groups Projects
Unverified Commit 90d7aed6 authored by Maxim Cournoyer's avatar Maxim Cournoyer
Browse files

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
parent 29799dba
Branches
No related tags found
No related merge requests found
#!/bin/bash
#!/usr/bin/env bash
AUTORECONF=`which autoreconf`
if test -z $AUTORECONF; then
......
#!/bin/bash -
#!/usr/bin/env bash
#
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
#
......
#!/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 ../../..
\ No newline at end of file
cd ../../..
#!/bin/bash
#!/usr/bin/env bash
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment