diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-18 13:52:28 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-03-18 14:23:11 +0100 |
commit | d3a2a25fb417183de82a0d2335db8cdcce605a55 (patch) | |
tree | 6f49d573cbed0be0ef5fad1932e086e6b8a2cb42 /coccinelle/run-coccinelle.sh | |
parent | e0b8bbbdbece50e7c58b09c633e0ebe6e47c99e7 (diff) | |
download | systemd-d3a2a25fb417183de82a0d2335db8cdcce605a55.tar.gz |
coccinelle: respect spacing from the semantic patch
Diffstat (limited to 'coccinelle/run-coccinelle.sh')
-rwxr-xr-x | coccinelle/run-coccinelle.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coccinelle/run-coccinelle.sh b/coccinelle/run-coccinelle.sh index 3249722863..cd951790b9 100755 --- a/coccinelle/run-coccinelle.sh +++ b/coccinelle/run-coccinelle.sh @@ -42,7 +42,7 @@ for script in "${SCRIPTS[@]}"; do TMPFILE="$(mktemp)" echo "+ spatch --sp-file $script ${ARGS[*]} ..." parallel --halt now,fail=1 --keep-order --noswap --max-args=20 \ - spatch --macro-file="$TOP_DIR/coccinelle/macros.h" --sp-file "$script" "${ARGS[@]}" ::: "${FILES[@]}" \ + spatch --macro-file="$TOP_DIR/coccinelle/macros.h" --smpl-spacing --sp-file "$script" "${ARGS[@]}" ::: "${FILES[@]}" \ 2>"$TMPFILE" || cat "$TMPFILE" echo -e "--x-- Processed $script --x--\n" done |