Use shebang line that can work on different distributions (#1156)

This commit is contained in:
Nils ANDRÉ-CHANG
2019-12-22 21:43:57 +00:00
committed by Carlos Fernandez Sanz
parent c1c0627dab
commit 6281e128aa
8 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
./pre-build.sh
autoreconf -i

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BLD_FLAGS="-std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -DVERSION_FILE_PRESENT -DENABLE_OCR -DFT2_BUILD_LIBRARY -DGPAC_DISABLE_VTT -DGPAC_DISABLE_OD_DUMP"
bit_os=$(getconf LONG_BIT)
if [ "$bit_os"=="64" ]

View File

@@ -1,4 +1,4 @@
#!/bin/sh -ex
#!/usr/bin/env sh -ex
####################################################################
# setup by tracey apr 2012

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BLD_FLAGS="-g -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -DVERSION_FILE_PRESENT -DENABLE_OCR -DENABLE_HARDSUBX -DFT2_BUILD_LIBRARY -DGPAC_DISABLE_VTT -DGPAC_DISABLE_OD_DUMP"
bit_os=$(getconf LONG_BIT)
if [ "$bit_os"=="64" ]

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BLD_FLAGS="-g -std=gnu99 -Wno-write-strings -DGPAC_CONFIG_LINUX -D_FILE_OFFSET_BITS=64 -DVERSION_FILE_PRESENT -DENABLE_OCR -DFT2_BUILD_LIBRARY -DGPAC_DISABLE_VTT -DGPAC_DISABLE_OD_DUMP"
bit_os=$(getconf LONG_BIT)
if [ "$bit_os"=="64" ]

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
make distclean > /dev/null 2>&1 || true
rm -rf Makefile configure *.in config.status config.log aclocal.m4 build-conf autom4te.cache

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
SRC_LIBPNG="$(find ../src/libpng/ -name '*.c')"
SRC_ZLIB="$(find ../src/zlib/ -name '*.c')"
SRC_ZVBI="$(find ../src/zvbi/ -name '*.c')"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
echo "Obtaining Git commit"
commit=(`git rev-parse HEAD 2>/dev/null`)
if [ -z "$commit" ]; then