From 273ca322a34798ebe19f821ee59db392759c3a9e Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Sun, 13 Sep 2020 00:38:28 +0100 Subject: [PATCH] Add ./maze wrapper shell script to call the lua script It's nice to have a lazy entrance point :P --- maze | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 maze diff --git a/maze b/maze new file mode 100755 index 0000000..7c4793c --- /dev/null +++ b/maze @@ -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 "${@}";