aboutsummaryrefslogtreecommitdiff
path: root/mrconfig-updater
diff options
context:
space:
mode:
Diffstat (limited to 'mrconfig-updater')
-rwxr-xr-xmrconfig-updater3
1 files changed, 2 insertions, 1 deletions
diff --git a/mrconfig-updater b/mrconfig-updater
index c758aaa..f860a5c 100755
--- a/mrconfig-updater
+++ b/mrconfig-updater
@@ -15,6 +15,7 @@
# Configuration
MRCONFIG="$HOME/.custom/mrconfig-automatic"
FOLDERS="apps file code"
+DEPTH="2"
CWD="`pwd`"
# Setup
@@ -23,7 +24,7 @@ rm -f $MRCONFIG
# Iterate
for folder in $FOLDERS; do
- find $folder -name '.git' | while read repo; do
+ find $folder -maxdepth $DEPTH -name '.git' | while read repo; do
echo "[`dirname $repo`]" >> $MRCONFIG
done
done