Use #!/usr/bin/env bash instead of #!/bin/bash (#254)

Refer to https://github.com/dylanaraps/pure-bash-bible#shebang
This commit is contained in:
Liu-Cheng Xu
2018-06-27 17:40:22 +08:00
committed by Gav Wood
parent 5d4dafb8c0
commit 6353f8496b
3 changed files with 3 additions and 3 deletions
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Make LLD produce a binary that imports memory from the outside environment. # Make LLD produce a binary that imports memory from the outside environment.
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
rm -rf ./target rm -rf ./target
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
cargo +nightly build --target=wasm32-unknown-unknown --release cargo +nightly build --target=wasm32-unknown-unknown --release