diff options
author | Erich Eckner <git@eckner.net> | 2021-02-17 10:14:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-02-17 10:14:58 +0100 |
commit | 6511cfbcc1b6d80b6ebb4d5b79ace7088d8fd6fd (patch) | |
tree | a601200b8933fc73f937287aa22390f6963b3606 /updateSources | |
parent | 0e700f31788332d5808471207ea65d696329a69a (diff) | |
download | archlinuxewe-6511cfbcc1b6d80b6ebb4d5b79ace7088d8fd6fd.tar.xz |
updateSources neu
Diffstat (limited to 'updateSources')
-rwxr-xr-x | updateSources | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/updateSources b/updateSources new file mode 100755 index 000000000..77bbba31b --- /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 \; |