libfprint/cocci/apply-all

10 lines
170 B
Text
Raw Normal View History

#!/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 "$@"