Update shell code

Now it (mostly) passes shellcheck and is formatted with shfmt.
This commit is contained in:
Michael Wolf
2025-11-17 11:38:04 -06:00
parent 1a13fd0909
commit 2641a8d29d
11 changed files with 39 additions and 36 deletions

4
cmd
View File

@@ -6,7 +6,7 @@
set -eu
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
subcmd="$1"
@@ -16,6 +16,6 @@ subcmd="$1"
shift
echo will run "$DIR"/framework/cmd.d/"$subcmd" "$@"
echo will run "$DIR"/framework/cmd.d/"$subcmd" "$@"
exec "$DIR"/framework/cmd.d/"$subcmd" "$@"