diff options
author | Case Duckworth | 2022-08-02 23:02:45 -0500 |
---|---|---|
committer | Case Duckworth | 2022-08-02 23:02:45 -0500 |
commit | bfc315f01d98a2d666e8ecc28e6355655256df0d (patch) | |
tree | c03003d48cf7044dfe34234ec79a9b76b1126395 | |
parent | Update README (diff) | |
download | shatom-bfc315f01d98a2d666e8ecc28e6355655256df0d.tar.gz shatom-bfc315f01d98a2d666e8ecc28e6355655256df0d.zip |
Shellcheck
-rwxr-xr-x | shatom | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shatom b/shatom index 3f9adac..7b149a9 100755 --- a/shatom +++ b/shatom | |||
@@ -45,6 +45,7 @@ main() { | |||
45 | 45 | ||
46 | # Configuration file | 46 | # Configuration file |
47 | if [ -f "${CONFIG:=$PWD/shatom.conf.sh}" ]; then | 47 | if [ -f "${CONFIG:=$PWD/shatom.conf.sh}" ]; then |
48 | # shellcheck source=/dev/null | ||
48 | . "$CONFIG" | 49 | . "$CONFIG" |
49 | fi | 50 | fi |
50 | 51 | ||
@@ -170,5 +171,5 @@ item_updated() { | |||
170 | 171 | ||
171 | ### Execution section | 172 | ### Execution section |
172 | 173 | ||
173 | test -n $DEBUG && set -x | 174 | test -n "$DEBUG" && set -x |
174 | test -n $SOURCE || main "$@" | 175 | test -n "$SOURCE" || main "$@" |