mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-05 20:19:16 +03:00
Merge pull request #323466 from andersk/grep-stray
nixos/udev: Fix `grep: warning: stray \ before /`
This commit is contained in:
commit
3575fad9da
@ -93,7 +93,7 @@ let
|
||||
echo "OK"
|
||||
|
||||
echo -n "Checking that all programs called 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 New Issue
Block a user