aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-12 13:02:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-12 13:02:49 -0300
commit679fdb92edbf62a509d93fe0da33d138cfc04c14 (patch)
tree34be389c725c140c8161903865d27d97dbf0926e
parent2314ee3d2d8c998be98a4ab825292be52c7bbb23 (diff)
downloadmetadot-679fdb92edbf62a509d93fe0da33d138cfc04c14.tar.gz
metadot-679fdb92edbf62a509d93fe0da33d138cfc04c14.tar.bz2
Do not follow any .git/modules folder
-rwxr-xr-xmetadot2
1 files changed, 1 insertions, 1 deletions
diff --git a/metadot b/metadot
index e20d36b..b9564ab 100755
--- a/metadot
+++ b/metadot
@@ -42,7 +42,7 @@ function metadot_backup {
# Find contents of a module
function metadot_find {
local module="$1"
- ( cd $MODULES/$module && find -name '*.link' -or -name '*.dot.link' ) | sed -e 's|./||'
+ ( cd $MODULES/$module && find -name '*.link' -or -name '*.dot.link' ) | grep -v '.git/modules' | sed -e 's|./||'
}
# Load a module