mirror of
https://github.com/systemd/systemd
synced 2024-07-22 18:55:10 +00:00
4384284655
It doesn't work, spits out only rubbish and was already excluded of run-coccinelle.sh. It's a pitty it doesn't work, but let's drop this dead piece of code for now.
11 lines
288 B
Bash
Executable file
11 lines
288 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
for SCRIPT in ${@-*.cocci} ; do
|
|
echo "--x-- Processing $SCRIPT --x--"
|
|
TMPFILE=`mktemp`
|
|
spatch --sp-file $SCRIPT --dir $(pwd)/.. 2> "$TMPFILE" || cat "$TMPFILE"
|
|
rm "$TMPFILE"
|
|
echo "--x-- Processed $SCRIPT --x--"
|
|
echo ""
|
|
done
|