aboutsummaryrefslogtreecommitdiff
path: root/mirror_update.sh
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-04 21:29:12 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-09-04 21:29:12 +0200
commit84356869083bc196bffaef08305bb76756344155 (patch)
treec9d56086173c36e9a87d8d295c3d6e6e49d85f46 /mirror_update.sh
parent7a7ca12395823883df69e614d2b520be6f2a3a69 (diff)
downloadreposync-84356869083bc196bffaef08305bb76756344155.tar.gz
fix mirror
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