]> gitweb.fluxo.info Git - metadot.git/commitdiff
Fix: pass current dir to find explicitly (thanks Kirill Elagin)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Sep 2020 22:47:15 +0000 (19:47 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 23 Sep 2020 22:47:15 +0000 (19:47 -0300)
metadot

diff --git a/metadot b/metadot
index 8e7b3e26c63ee686047189b5d73669d54384947e..35b85ae168daa99173c220126f93419212e5ba74 100755 (executable)
--- 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