mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
fix the grep pattern finding programs called by absolute paths in udev rules.
This commit is contained in:
parent
bb5d2d53fe
commit
dbe2325603
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue