From: Silvio Rhatto Date: Thu, 12 Jun 2014 16:02:49 +0000 (-0300) Subject: Do not follow any .git/modules folder X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=679fdb92edbf62a509d93fe0da33d138cfc04c14;p=metadot.git Do not follow any .git/modules folder --- 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