diff options
author | Erich Eckner <git@eckner.net> | 2017-10-06 09:38:06 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-06 09:38:06 +0200 |
commit | 0ce920ff587e0c0c09cff8355f0d563b06bc04c1 (patch) | |
tree | f6f8a753490896bf6fc8b4232f72bf2eeaba50eb | |
parent | a17a427a87bd5dbe58b2757f4f5bec92c212f043 (diff) | |
download | archlinuxewe-0ce920ff587e0c0c09cff8355f0d563b06bc04c1.tar.xz |
archPackagesUpdate: update vcs sources
-rwxr-xr-x | archPackagesUpdate | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/archPackagesUpdate b/archPackagesUpdate index 4a5adcbc8..f5fc23749 100755 --- a/archPackagesUpdate +++ b/archPackagesUpdate @@ -441,6 +441,26 @@ then exit 1 fi +# update git sources + find "$( + grep '^SRCDEST=' makepkg.conf | \ + cut -d= -f2 + )" -mindepth 2 -maxdepth 2 -name 'HEAD' | \ + sed 's|/[^/]*$||' | \ + while read -r repo; do + git -C "${repo}" fetch --all -p + done + +# update svn sources + find "$( + grep '^SRCDEST=' makepkg.conf | \ + cut -d= -f2 + )" -mindepth 2 -maxdepth 2 -name '.svn' | \ + sed 's|/[^/]*$||' | \ + while read -r repo; do + svn update "${repo}" + done + # build packages for ((i=0; i<${#pakete[@]}; i++)) do @@ -451,7 +471,7 @@ then cd "${tmpDir}/${paket}" rm -f ${paket}-*-${arch}.pkg.tar.xz* - rm -rf src pkg + rm -rf --one-file-system src pkg if [ "${arch}" = 'i686' ]; then # 32-bit is built in chroot /opt/arch32 |