Merge pull request #160 from MikaelUrankar/master
Don't assume /bin/bash is available on every system.
This commit is contained in:
commit
4210fd49cb
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Requires the CHANNEL env var to be set to `debug` or `release.`
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
cd $(dirname "$0")
|
||||
|
||||
|
2
cargo.sh
2
cargo.sh
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ -z $CHANNEL ]; then
|
||||
export CHANNEL='debug'
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash --verbose
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -v
|
||||
|
||||
rm -rf target/ build_sysroot/{sysroot/,sysroot_src/,target/,Cargo.lock} perf.data{,.old}
|
||||
rm -rf regex/ simple-raytracer/
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash --verbose
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -v
|
||||
|
||||
source prepare_build.sh
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/bin/bash --verbose
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
set -v
|
||||
|
||||
./build_sysroot/prepare_sysroot_src.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user