From: Johan Brandhorst-Satzkorn Date: Sat, 28 Jan 2023 06:51:39 +0000 (-0800) Subject: misc/wasm: extend executable compatibility X-Git-Tag: go1.21rc1~1731 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=01b9656fce32249d6debc2f0eaa2ce0c4154b827;p=gostls13.git misc/wasm: extend executable compatibility The path /bin/bash is not available on all operating systems. Use /usr/bin/env bash to find the system bash interpreter. Change-Id: I493e462a8e261b7fbbd3f3c0b1d10e55c5ed783b Reviewed-on: https://go-review.googlesource.com/c/go/+/463977 Reviewed-by: Bryan Mills TryBot-Result: Gopher Robot Run-TryBot: Johan Brandhorst-Satzkorn Run-TryBot: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Dmitri Shuralyov Reviewed-by: Evan Phoenix --- diff --git a/misc/wasm/go_js_wasm_exec b/misc/wasm/go_js_wasm_exec index fcbd0e4fc8..db4d2cb608 100755 --- a/misc/wasm/go_js_wasm_exec +++ b/misc/wasm/go_js_wasm_exec @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Copyright 2018 The Go Authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file.