mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02: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:
committed by
GitHub
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 $?
|
||||
|
||||
Vendored
+1
-1
@@ -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
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -ex
|
||||
|
||||
# CI uses pre-built Boost
|
||||
|
||||
+1
-1
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user