Commit e101893d authored by Mirsal Ennaime's avatar Mirsal Ennaime

modules/list.sh: Fix grep usage

parent bc7776a7
...@@ -45,7 +45,7 @@ echo "--------------------------------------" ...@@ -45,7 +45,7 @@ echo "--------------------------------------"
for module in `awk -F'[ :]' '/ \* /{print $3}' $LISTFILE` for module in `awk -F'[ :]' '/ \* /{print $3}' $LISTFILE`
do do
if ! grep -q $module $TEMPFILE if ! grep -wq $module $TEMPFILE
then then
i=1 i=1
echo "$module is listed but does not exist" echo "$module is listed but does not exist"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment