]> git.sesse.net Git - vlc/blobdiff - modules/list.sh
Use var_InheritString for --decklink-video-connection.
[vlc] / modules / list.sh
index 4a0f34fc803f0e5ae3afe8ab986c49dd83ecd00f..459b5d977beae89794fb77448085188455e31148 100755 (executable)
@@ -45,7 +45,7 @@ echo "--------------------------------------"
 
 for module in `awk -F'[ :]' '/ \* /{print $3}' $LISTFILE`
 do
- if ! grep -q $module $TEMPFILE
+ if ! grep -wq $module $TEMPFILE
  then
   i=1
   echo "$module is listed but does not exist"
@@ -66,6 +66,6 @@ grep " \* " $LISTFILE | LC_CTYPE=C sort -c && echo "OK"
 
 
 echo ""
-echo "`wc -l < $TEMPFILE` modules listed in Modules.am files"
+echo "`sort -u $TEMPFILE | wc -l` modules listed in Modules.am files"
 
 rm -f $TEMPFILE