wok rev 3540

linux/list_modules.sh: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 22 18:45:54 2009 +0200 (2009-06-22)
parents b563b08e4f32
children 03ced413517c
files linux/stuff/list_modules.sh
line diff
     1.1 --- a/linux/stuff/list_modules.sh	Mon Jun 22 18:44:38 2009 +0200
     1.2 +++ b/linux/stuff/list_modules.sh	Mon Jun 22 18:45:54 2009 +0200
     1.3 @@ -28,7 +28,7 @@
     1.4          grep /$module: $_pkg/lib/modules/*-slitaz/modules.dep ||
     1.5          find $_pkg/lib/modules/*-slitaz/kernel/$tree -name $module
     1.6      done | awk '{ for (i = 1; i <= NF; i++)  print $i; }'
     1.7 -done | sort | uniq | sed -e 's,.*slitaz/,,' -e 's,kernel/,,' -e 's/:$//' | \
     1.8 +done | sort | uniq | sed -e 's,.*slitaz/,,' -e 's,^kernel/,,' -e 's/:$//' | \
     1.9  while read module; do
    1.10      grep -qs ^$module$ $src/modules.list && continue
    1.11      echo $module