Add ./maze wrapper shell script to call the lua script

It's nice to have a lazy entrance point :P
This commit is contained in:
Starbeamrainbowlabs 2020-09-13 00:38:28 +01:00
parent 97a02f9e9d
commit 273ca322a3
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
1 changed files with 4 additions and 0 deletions

4
maze Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd "$(dirname "$(readlink -f "$0")")" || { echo "Error: Failed to cd to script directory" >&2; exit 1; };
exec lua main.lua "${@}";