From 1d983e9f934bf6aeb9333c763fe1a603b8d8e5c4 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 22 Mar 2020 11:48:23 +0100
Subject: Initial commit
---
bin/rstar | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100755 bin/rstar
(limited to 'bin')
diff --git a/bin/rstar b/bin/rstar
new file mode 100755
index 0000000..1049cd9
--- /dev/null
+++ b/bin/rstar
@@ -0,0 +1,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 "$@"
--
cgit v1.1