diff options
author | Erich Eckner <git@eckner.net> | 2018-09-28 14:41:05 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-09-28 14:41:05 +0200 |
commit | 2a762bcfac22eb6fd0b75dd4b9430c9a4516136a (patch) | |
tree | bd9d98c075e1fc1bc93b64a43453dedbdd0c457f | |
parent | d8c2620c80ae37a33e42eeb3ac292915d10108ee (diff) | |
download | archive-server-2a762bcfac22eb6fd0b75dd4b9430c9a4516136a.tar.xz |
update-repos new
-rwxr-xr-x | update-repos | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/update-repos b/update-repos new file mode 100755 index 0000000..bfd3ec6 --- /dev/null +++ b/update-repos @@ -0,0 +1,9 @@ +#!/bin/sh + +base_dir=$(dirname "$(readlink -f "$0")") + +find "${base_dir}/work/repositories" \ + -mindepth 1 \ + -maxdepth 1 \ + -type d \ + -exec git -C {} remote update \; |