quiz/run

15 lines
164 B
Text
Raw Normal View History

#!/bin/sh -eu
RUN_BIN=$(realpath "$0")
RUN_DIR=$(dirname "$RUN_BIN")
export RUN_BIN
export RUN_DIR
task="$1"
shift
set -x
exec "$RUN_DIR"/scripts/"$task" "$@"