Unverified Commit 57baea70 authored by teor's avatar teor
Browse files

shellcheck: Start checking most scripts for errors

This check was accidentally disabled by a bad find command.

Fixes bug 32402; bugfix on 0.4.2.1-alpha.
Obviously correct changes to already reviewed code.
parent 76fd872d
Loading
Loading
Loading
Loading

changes/bug32402

0 → 100644
+3 −0
Original line number Diff line number Diff line
  o Minor bugfixes (shellcheck):
    - Start checking most scripts for shellcheck errors again.
      Fixes bug 32402; bugfix on 0.4.2.1-alpha.
+1 −5
Original line number Diff line number Diff line
@@ -35,12 +35,8 @@ if [ ! -d "$TOPLEVEL/src" ]; then
fi

# Check *.sh scripts, but ignore the ones that we can't fix
find "$TOPLEVEL" \
find "$TOPLEVEL/contrib" "$TOPLEVEL/doc" "$TOPLEVEL/scripts" "$TOPLEVEL/src" \
    -name "*.sh" \
    -path "$TOPLEVEL/contrib/*" \
    -path "$TOPLEVEL/doc/*" \
    -path "$TOPLEVEL/scripts/*" \
    -path "$TOPLEVEL/src/*" \
    -not -path "$TOPLEVEL/src/ext/*" \
    -not -path "$TOPLEVEL/src/rust/registry/*" \
    -exec shellcheck {} +