libfprint/cocci/apply-all
Benjamin Berg 6ec11a2b26 cocci: Add spatch/coccinelle patches for driver porting
This is an impartial set of transformations to help port the drivers to
the new interfaces.
2019-11-20 13:53:45 +01:00

9 lines
170 B
Bash
Executable file

#!/bin/sh
pushd $( dirname "$0" )
all="all.cocci"
real="/tmp/real.cocci"
cat "$all" | grep -P '^(?!#).+' | xargs cat >$real || exit 1
popd
spatch --sp-file $real "$@"