scripts: Get Bash from /usr/bin/env (#647)

Not all *Nix systems have Bash located at /bin/bash, this fixes building Vita3k
on them.
This commit is contained in:
Samuel Gräfenstein
2020-01-30 20:31:30 +01:00
committed by GitHub
parent cc474cb739
commit d68067bef8
5 changed files with 7 additions and 6 deletions
+3 -2
View File
@@ -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 $?
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
UNICORN_ARCHS=arm UNICORN_DEBUG=no UNICORN_SHARED=no ./make.sh
+1 -1
View File
@@ -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
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -ex
# CI uses pre-built Boost
+1 -1
View File
@@ -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)"