aboutsummaryrefslogtreecommitdiff
path: root/home/update.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home/update.sh')
-rwxr-xr-xhome/update.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/home/update.sh b/home/update.sh
index b6a0412..e494390 100755
--- a/home/update.sh
+++ b/home/update.sh
@@ -2,13 +2,9 @@
set -e
set -x
-repos="$(find $HOME -type d -iname '*.git')"
-
-IFS="
-"
-
-for repo in $repos ; do
- cd $repo
- git update-server-info
-done
-
+#shellcheck disable=SC2086
+$HOME/list.sh \
+ | while read -r repo ; do
+ cd "$repo"
+ git repack
+ done