diff --git a/.travis/linux/build.sh b/.travis/linux/build.sh index c6b14c14e..cddb6dc7c 100644 --- a/.travis/linux/build.sh +++ b/.travis/linux/build.sh @@ -1,3 +1,4 @@ -#!/bin/bash -ex +#!/usr/bin/env bash +set -ex -docker run -v $(pwd):/Vita3K -v "$HOME/.ccache":/root/.ccache gcc:8 /bin/bash -ex /Vita3K/.travis/linux/docker.sh || exit $? +docker run -v $(pwd):/Vita3K -v "$HOME/.ccache":/root/.ccache gcc:8 /usr/bin/env bash -ex /Vita3K/.travis/linux/docker.sh || exit $? diff --git a/external/unicorn-build.sh b/external/unicorn-build.sh index 56dadfc47..8d0aacb1a 100755 --- a/external/unicorn-build.sh +++ b/external/unicorn-build.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -ex UNICORN_ARCHS=arm UNICORN_DEBUG=no UNICORN_SHARED=no ./make.sh diff --git a/format.sh b/format.sh index ee33f7189..e388cf637 100755 --- a/format.sh +++ b/format.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash set -ex find vita3k tools/gen-modules tools/native-tool \( -name *.cpp -o -name *.h \) | xargs clang-format -i diff --git a/gen-linux.sh b/gen-linux.sh index 1d06e5a33..7368f5fe8 100755 --- a/gen-linux.sh +++ b/gen-linux.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -ex # CI uses pre-built Boost diff --git a/gen-macos.sh b/gen-macos.sh index 18af40f66..4ea45953c 100755 --- a/gen-macos.sh +++ b/gen-macos.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/usr/bin/env bash set -ex BOOST_FOUND="$(cmake --find-package -DNAME=Boost -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=EXIST)"