From 59b7a739e8436d02136bd6483115f23fe19860e0 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 13 Feb 2010 04:03:10 +0100 Subject: inform the user of activities that might take a longer time --- commitpkg | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'commitpkg') diff --git a/commitpkg b/commitpkg index e8525ee..54784e1 100755 --- a/commitpkg +++ b/commitpkg @@ -63,12 +63,14 @@ if [ "$1" = "-l" ]; then shift 2 fi +echo -n 'committing changes to trunk...' if [ -n "$1" ]; then svn commit -q -m "upgpkg: $pkgbase $pkgver-$pkgrel $1" || abort else svn commit -q || abort fi +echo 'done' for _arch in ${arch[@]}; do for _pkgname in ${pkgname[@]}; do @@ -77,10 +79,11 @@ for _arch in ${arch[@]}; do if [ ! -f $pkgfile -a -f "$PKGDEST/$pkgfile" ]; then pkgfile="$PKGDEST/$pkgfile" elif [ ! -f $pkgfile ]; then - echo "Skipping ${_arch}" + echo "skipping ${_arch}" continue 2 fi + echo -n 'uploading ' rsync -c -h --progress $rsyncopts "${pkgfile}" -e ssh $server:staging/$repo || abort done archrelease $repo-${_arch} || abort @@ -89,9 +92,11 @@ done if [ "${arch[*]}" == "any" ]; then if [ -d ../repos/$repo-i686 -a -d ../repos/$repo-x86_64 ]; then pushd ../repos/ >/dev/null + echo -n "removing $repo-i686 and $repo-x86_64..." svn rm $repo-i686 svn rm $repo-x86_64 - svn commit -m "removed $repo-i686 and $repo-x86_64 for $pkgname" + svn commit -q -m "removed $repo-i686 and $repo-x86_64 for $pkgname" + echo 'done' popd >/dev/null fi fi -- cgit v1.2.3-70-g09d2