diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 10:29:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 10:29:17 -0300 |
commit | d8e7add329b0733553887f6592a274455098175d (patch) | |
tree | a8ed2d8d1821c8fe4d946ad93aa54be9cb700624 | |
parent | 59730fcc3aaca2c43b603dce1134fff6d167bf2f (diff) | |
download | metadot-d8e7add329b0733553887f6592a274455098175d.tar.gz metadot-d8e7add329b0733553887f6592a274455098175d.tar.bz2 |
Minor fixes
-rwxr-xr-x | metadot | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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..." |