From 6511cfbcc1b6d80b6ebb4d5b79ace7088d8fd6fd Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Feb 2021 10:14:58 +0100 Subject: updateSources neu --- updateSources | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 updateSources (limited to 'updateSources') diff --git a/updateSources b/updateSources new file mode 100755 index 00000000..77bbba31 --- /dev/null +++ b/updateSources @@ -0,0 +1,19 @@ +#!/bin/bash + +srcDir="${HOME}/packageSources" + +[ -d "${srcDir}" ] || exit 0 + +find "${srcDir}" \ + -mindepth 2 \ + -maxdepth 2 \ + -name HEAD \ + -printf '%h\n' \ +| parallel -j 0 -l 1 git -C {} fetch --all -p + +find "${srcDir}" \ + -mindepth 2 \ + -maxdepth 2 \ + -type d \ + -name .svn \ + -execdir svn update \; -- cgit v1.2.3-54-g00ecf