From: Silvio Rhatto Date: Wed, 23 Sep 2020 22:47:15 +0000 (-0300) Subject: Fix: pass current dir to find explicitly (thanks Kirill Elagin) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=0dd059e208f51feaaa6d0eb055b6fab8e2aaed59;p=metadot.git Fix: pass current dir to find explicitly (thanks Kirill Elagin) --- diff --git a/metadot b/metadot index 8e7b3e2..35b85ae 100755 --- a/metadot +++ b/metadot @@ -58,7 +58,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' ) | grep -v '.git/modules' | sed -e 's|./||' + ( cd $MODULES/$module && find . -name '*.link' -or -name '*.dot.link' ) | grep -v '.git/modules' | sed -e 's|./||' } # Load a module