pythonOutputDistHook: lint with ShellCheck
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user