aboutsummaryrefslogtreecommitdiff
path: root/bin/rstar
blob: 1049cd9c9cd865aa698bebf2ec75c555a43b9191 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

export BASEDIR=$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P)

main() {
	if ! command -v bash > /dev/null
	then
		printf "You need bash to run rstar\n" >&2
		exit 1
	fi

	exec bash "$BASEDIR/lib/main.bash" "$@"
}

main "$@"