aboutsummaryrefslogtreecommitdiff
path: root/build-dendritejs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-dendritejs.sh')
-rwxr-xr-xbuild-dendritejs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-dendritejs.sh b/build-dendritejs.sh
index cd42a6be..83ec3699 100755
--- a/build-dendritejs.sh
+++ b/build-dendritejs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -eu
+#!/bin/sh -eu
export GIT_COMMIT=$(git rev-list -1 HEAD) && \
-GOOS=js GOARCH=wasm go build -ldflags "-X main.GitCommit=$GIT_COMMIT" -o main.wasm ./cmd/dendritejs \ No newline at end of file
+GOOS=js GOARCH=wasm go build -ldflags "-X main.GitCommit=$GIT_COMMIT" -o main.wasm ./cmd/dendritejs