mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
coccinelle: respect spacing from the semantic patch
This commit is contained in:
@@ -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