mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
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:
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
AUTORECONF=`which autoreconf`
|
||||
if test -z $AUTORECONF; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash -
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
|
||||
#
|
||||
|
@ -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 ../../..
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Copyright (C) 2004-2021 Savoir-faire Linux Inc.
|
||||
#
|
||||
|
Reference in New Issue
Block a user