aboutsummaryrefslogtreecommitdiff
path: root/metadot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-03-16 10:29:17 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-03-16 10:29:17 -0300
commitd8e7add329b0733553887f6592a274455098175d (patch)
treea8ed2d8d1821c8fe4d946ad93aa54be9cb700624 /metadot
parent59730fcc3aaca2c43b603dce1134fff6d167bf2f (diff)
downloadmetadot-d8e7add329b0733553887f6592a274455098175d.tar.gz
metadot-d8e7add329b0733553887f6592a274455098175d.tar.bz2
Minor fixes
Diffstat (limited to 'metadot')
-rwxr-xr-xmetadot4
1 files changed, 2 insertions, 2 deletions
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..."