mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
Limit spatch to bin, lib and fuzz directories
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
ret=0
|
||||
for spatch in cocci/*.spatch; do
|
||||
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
|
||||
cat "$patch"
|
||||
ret=1
|
||||
|
Reference in New Issue
Block a user