fix the grep pattern finding programs called by absolute paths in udev rules.

This commit is contained in:
David Guibert 2012-06-27 20:41:07 +02:00
parent bb5d2d53fe
commit dbe2325603

View file

@ -73,7 +73,7 @@ let
echo "OK"
echo -n "Checking that all programs call by absolute paths in udev rules exist ... "
import_progs=$(grep 'IMPORT{program}="/' $out/* |
import_progs=$(grep 'IMPORT{program}="\/' $out/* |
sed -e 's/.*IMPORT{program}="\([^ "]*\)[ "].*/\1/' | uniq)
run_progs=$(grep -v '^[[:space:]]*#' $out/* | grep 'RUN+="/' |
sed -e 's/.*RUN+="\([^ "]*\)[ "].*/\1/' | uniq)