aboutsummaryrefslogtreecommitdiff
path: root/metadot
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-09-23 19:47:15 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-09-23 19:47:15 -0300
commit0dd059e208f51feaaa6d0eb055b6fab8e2aaed59 (patch)
treea5513cbfc1bf11da6b3810f1647ca28a69054234 /metadot
parentcb052f38a3da69abc179307659013009a849d8f2 (diff)
downloadmetadot-0dd059e208f51feaaa6d0eb055b6fab8e2aaed59.tar.gz
metadot-0dd059e208f51feaaa6d0eb055b6fab8e2aaed59.tar.bz2
Fix: pass current dir to find explicitly (thanks Kirill Elagin)
Diffstat (limited to 'metadot')
-rwxr-xr-xmetadot2
1 files changed, 1 insertions, 1 deletions
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