mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
coccinelle: respect spacing from the semantic patch
This commit is contained in:
1 parent
e0b8bbbdbe
commit
d3a2a25fb4
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user