mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
Limit spatch to bin, lib and fuzz directories
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
ret=0
|
ret=0
|
||||||
for spatch in cocci/*.spatch; do
|
for spatch in cocci/*.spatch; do
|
||||||
patch="$(dirname "$spatch")/$(basename "$spatch" .spatch).patch"
|
patch="$(dirname "$spatch")/$(basename "$spatch" .spatch).patch"
|
||||||
spatch --sp-file="$spatch" --use-gitgrep --dir . --very-quiet > "$patch";
|
spatch --sp-file="$spatch" --use-gitgrep --dir bin --dir lib --dir fuzz --very-quiet > "$patch";
|
||||||
if [ "$(< "$patch" wc -l)" -gt "0" ]; then
|
if [ "$(< "$patch" wc -l)" -gt "0" ]; then
|
||||||
cat "$patch"
|
cat "$patch"
|
||||||
ret=1
|
ret=1
|
||||||
|
Reference in New Issue
Block a user