Browse Source

Restrict bashate to devstack/lib instead of lib

`lib` is too general in *nix systems and CI can clone the project to
directories that contain it (like `/var/lib/`) which leads to bashate
running on files it should not run (like `devstack/settings`) and fail.

Change-Id: If4ded8a15ecda5abf9a92f15bdbc8204c025df74
Pavlo Shchelokovskyy 4 months ago
parent
commit
dd5e030207
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      tools/run_bashate.sh

+ 1
- 1
tools/run_bashate.sh View File

@@ -21,7 +21,7 @@ find  "$@"  -not \( -type d -name .?\* -prune \)    \
21 21
             -not -name \*.py                        \
22 22
             \(                                      \
23 23
                 -name \*.sh -or                     \
24
-                -wholename \*/lib/\* -or            \
24
+                -wholename \*/devstack/lib/\* -or   \
25 25
                 -wholename \*/tools/\*              \
26 26
             \)                                      \
27 27
             -print0 | xargs -0 bashate -v -iE006 -eE005,E042

Loading…
Cancel
Save