proot-helper/app/app

9 lines
180 B
Bash
Executable File

#!/usr/bin/env bash
set -e
export PROOTH_DIR="$(dirname "$(realpath "$BASH_SOURCE")")"
if [[ "${@}" == "" ]]; then
"$PROOTH_DIR/cmd/help"
exit 1
fi
exec "$PROOTH_DIR/cmd"/"${@}"