diff --git a/ci/install_cargo_web.sh b/ci/install_cargo_web.sh index b35f06919..bf09f5a61 100755 --- a/ci/install_cargo_web.sh +++ b/ci/install_cargo_web.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -euo pipefail IFS=$'\n\t' diff --git a/ci/run_tests.sh b/ci/run_tests.sh index a43a44609..b5832022d 100755 --- a/ci/run_tests.sh +++ b/ci/run_tests.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Originally this ci script borrowed from https://github.com/koute/stdweb # because both use `cargo-web` tool to check the compilation. diff --git a/examples/build_all.sh b/examples/build_all.sh index 2fab36cd4..01c384f26 100755 --- a/examples/build_all.sh +++ b/examples/build_all.sh @@ -1,3 +1,5 @@ +#!/usr/bin/env bash + PID=-1 function ctrl_c() {