From: Silvio Rhatto Date: Thu, 16 Mar 2017 13:29:17 +0000 (-0300) Subject: Minor fixes X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d8e7add329b0733553887f6592a274455098175d;p=metadot.git Minor fixes --- diff --git a/metadot b/metadot index 3ba8dc0..203451f 100755 --- a/metadot +++ b/metadot @@ -235,9 +235,9 @@ function metadot_process_bundle { cat $DOT/bundles/$bundle | while read item; do option="`echo $OPT | sed -e 's|-bundle||g'`" - if grep -q "^bundles/" $item; then + if echo $item | grep -q "^bundles/"; then dependency="`echo $item | sed -e 's|bundles/||g'`" - elif grep -q "^modules/" $item; then + elif echo $item | grep -q "^modules/"; then dependency="`echo $item | sed -e 's|modules/||g'`" else echo "Skipping invalid item $item..."