15 lines
205 B
Bash
Executable file
15 lines
205 B
Bash
Executable file
#!/bin/sh -eu
|
|
|
|
RUN_BIN=$(realpath "$0")
|
|
RUN_DIR=$(dirname "$RUN_BIN")
|
|
|
|
export RUN_BIN
|
|
export RUN_DIR
|
|
|
|
task="$1"
|
|
shift
|
|
|
|
# export DEBUG=1
|
|
# export UNWIND_LOGLEVEL=DEBUG
|
|
|
|
exec "$RUN_DIR"/scripts/"$task" "$@"
|