pythonOutputDistHook: lint with ShellCheck

Changed files
+3
pkgs
development
interpreters
+3
pkgs/development/interpreters/python/hooks/python-output-dist-hook.sh
···
# Setup hook for storing dist folder (wheels/sdists) in a separate output
+
# shellcheck shell=bash
+
echo "Sourcing python-catch-conflicts-hook.sh"
pythonOutputDistPhase() {
echo "Executing pythonOutputDistPhase"
if [[ -d dist ]]; then
+
# shellcheck disable=SC2154
mv "dist" "$dist"
else
cat >&2 <<EOF