11 lines
264 B
Bash
Executable File
11 lines
264 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
repo_dir="$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd -P)"
|
|
eval "$("$repo_dir/nodew" "$repo_dir/scripts/offline-resource-lib.mjs" env)"
|
|
|
|
if [[ $# -eq 0 ]]; then
|
|
exec "${SHELL:-/bin/bash}" --noprofile --norc
|
|
fi
|
|
exec "$@"
|