diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 10:31:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-16 10:31:23 -0300 |
commit | d74ed37d10eeddf454f5fdae0bfb3206ffcfd400 (patch) | |
tree | 7e914b9a1e67b2b0ff7eb380b1fdce2b6ef33ce1 | |
parent | d8e7add329b0733553887f6592a274455098175d (diff) | |
download | metadot-d74ed37d10eeddf454f5fdae0bfb3206ffcfd400.tar.gz metadot-d74ed37d10eeddf454f5fdae0bfb3206ffcfd400.tar.bz2 |
Fixes option evaluation at metadot_process_bundle
-rwxr-xr-x | metadot | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -233,11 +233,11 @@ function metadot_process_bundle { fi cat $DOT/bundles/$bundle | while read item; do - option="`echo $OPT | sed -e 's|-bundle||g'`" - if echo $item | grep -q "^bundles/"; then + option="$OPT" dependency="`echo $item | sed -e 's|bundles/||g'`" elif echo $item | grep -q "^modules/"; then + option="`echo $OPT | sed -e 's|-bundle||g'`" dependency="`echo $item | sed -e 's|modules/||g'`" else echo "Skipping invalid item $item..." |