Run shellcheck on script files
authorColin Clark <colin.clark@cclark.uk>
Sat, 10 Jun 2023 11:14:13 +0000 (12:14 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 10 Jun 2023 11:14:13 +0000 (12:14 +0100)
commitf877b9f4c31cbb2c335c6b37411d75653bb66cb8
treeb7aab9c925bc7cb8081186505c63d883eb23035f
parent0a37a170751df2ed94827d0e3de9b31b647a95b5
Run shellcheck on script files

Run using:

for file in $(find . -not \( -path ./subprojects -prune \) -name "*.sh")
do
realfile=$(realpath "$file")
shellcheck --norc --format=diff --shell sh
--enable=add-default-case,avoid-nullary-conditions,check-unassigned-uppercase,deprecate-which,quote-safe-variables
"$realfile"| patch "$realfile"
done
exit

Plus manual edits.
13 files changed:
geeqie-install-debian.sh
gen_changelog.sh
plugins/camera-import/geeqie-camera-import-hook-script
plugins/image-crop/geeqie-image-crop
plugins/rotate/geeqie-rotate
plugins/symlink/geeqie-symlink
plugins/tethered-photography/geeqie-tethered-photography
plugins/tethered-photography/geeqie-tethered-photography-hook-script
po/regen_potfiles.sh
scripts/generate-linuxdeploy-for-arm.sh
scripts/keyword_merge.sh
scripts/new-release.sh
version.sh