aboutsummaryrefslogtreecommitdiff
path: root/mirror_update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mirror_update.sh')
-rwxr-xr-xmirror_update.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/mirror_update.sh b/mirror_update.sh
index d48125a..3e082da 100755
--- a/mirror_update.sh
+++ b/mirror_update.sh
@@ -6,7 +6,7 @@
ROOTDIR=$(realpath "$1")
-for dir in $(ls -d "$ROOTDIR/*.git/"); do
+for dir in $ROOTDIR/*; do
echo $dir
- git -C "$dir" fetch --mirror
+ git -C "$dir" fetch --all
done