diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 13:44:01 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-03-22 13:44:01 +0100 |
commit | 1548063b6ac54affecccc19872b1ffeed64f0887 (patch) | |
tree | 645d7ec3faeff40be96172b134023510334b5b6a /bin/rstar | |
parent | e335ffb41f7d65f369a8e4170affcd8d68a40be2 (diff) |
Work out (most?) issues reported by shellcheck
Diffstat (limited to 'bin/rstar')
-rwxr-xr-x | bin/rstar | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |