aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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