From 1548063b6ac54affecccc19872b1ffeed64f0887 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Sun, 22 Mar 2020 13:44:01 +0100 Subject: Work out (most?) issues reported by shellcheck --- bin/rstar | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.1