summaryrefslogtreecommitdiff
path: root/libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh')
-rwxr-xr-xlibc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh b/libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh
new file mode 100755
index 0000000..b1936f0
--- /dev/null
+++ b/libc/ci/docker/wasm32-unknown-emscripten/node-wrapper.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+me=$1
+shift
+dir=$(dirname $me)
+file=$(basename $me)
+
+cd $dir
+exec node $file "$@"