mirror of
https://github.com/Vita3K/Vita3K.git
synced 2024-05-15 19:34:52 -04:00
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:
parent
cc474cb739
commit
d68067bef8
|
@ -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 $?
|
||||
|
|
2
external/unicorn-build.sh
vendored
2
external/unicorn-build.sh
vendored
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
UNICORN_ARCHS=arm UNICORN_DEBUG=no UNICORN_SHARED=no ./make.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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
# CI uses pre-built Boost
|
||||
|
|
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue