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

wip/yesman
David Guibert 12 years ago
parent bb5d2d53fe
commit dbe2325603
  1. 2
      modules/services/hardware/udev.nix

@ -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)

Loading…
Cancel
Save