aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rstar4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/rstar b/bin/rstar
index 1049cd9..27c71ca 100755
--- a/bin/rstar
+++ b/bin/rstar
@@ -1,6 +1,8 @@
#!/bin/sh
-export BASEDIR=$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P)
+BASEDIR="$(CDPATH="" cd -- "$(dirname -- "$0")/.." && pwd -P)"
+
+export BASEDIR
main() {
if ! command -v bash > /dev/null