Files
diachron/framework/shims/node
Michael Wolf 2641a8d29d Update shell code
Now it (mostly) passes shellcheck and is formatted with shfmt.
2025-11-17 11:38:04 -06:00

17 lines
334 B
Bash
Executable File

#!/bin/bash
# This file belongs to the framework. You are not expected to modify it.
set -eu
node_shim_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export node_shim_DIR
source "$node_shim_DIR"/../versions
source "$node_shim_DIR"/node.common
node_bin="$node_shim_DIR/../../$nodejs_binary_dir/node"
exec "$node_bin" "$@"