Skip to content

Commit

Permalink
tools/bin/wasm: support argv[0]
Browse files Browse the repository at this point in the history
  • Loading branch information
pipcet committed Feb 3, 2021
1 parent 1fffb1a commit 20dcd8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/bin/wasm
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
#!/bin/bash
export EXECUTABLE=${EXECUTABLE:-$1}
exec $JS $(dirname "$0")/../../js/wasm32.js "$@"

0 comments on commit 20dcd8c

Please sign in to comment.