summaryrefslogtreecommitdiff
path: root/commitpkg
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-02-11 14:01:45 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-02-11 14:01:45 +0100
commitd68e7cb031b3ef0743deb853261356590d1a1abe (patch)
tree8b019642ae13d69e45538b5f6c7c6ff8f7fd5c37 /commitpkg
parent106a0cddfed4a3893dfddf6eb6c258d0c0716d9c (diff)
downloaddevtools-d68e7cb031b3ef0743deb853261356590d1a1abe.tar.xz
avoid useless output in commitpkg
Diffstat (limited to 'commitpkg')
-rwxr-xr-xcommitpkg17
1 files changed, 5 insertions, 12 deletions
diff --git a/commitpkg b/commitpkg
index 5c8c8e9..11e345d 100755
--- a/commitpkg
+++ b/commitpkg
@@ -57,18 +57,13 @@ if [ "$1" = "-l" ]; then
fi
if [ -n "$1" ]; then
- svn commit -m "upgpkg: $pkgbase $pkgver-$pkgrel
-$1" >/dev/null || abort
- echo "===> Commited with message:
-upgpkg: $pkgbase $pkgver-$pkgrel
- $1"
+ svn commit -q -m "upgpkg: $pkgbase $pkgver-$pkgrel
+$1" || abort
else
- svn commit || abort
- echo "===> Commited"
+ svn commit -q || abort
fi
for _arch in ${arch[@]}; do
- echo "===> Uploading to staging/$repo for arch=${_arch}"
pkgfiles=''
for _pkgname in ${pkgname[@]}; do
pkgfile=$_pkgname-$pkgver-$pkgrel-${_arch}$PKGEXT
@@ -76,15 +71,13 @@ for _arch in ${arch[@]}; do
if [ ! -f $pkgfile -a -f "$PKGDEST/$pkgfile" ]; then
pkgfile="$PKGDEST/$pkgfile"
elif [ ! -f $pkgfile ]; then
- echo "File $pkgfile doesn't exist"
- # skip to next architecture
+ echo "Skipping ${_arch}"
continue 2
fi
pkgfiles="${pkgfiles} ${pkgfile}"
done
- rsync -c -h --progress $rsyncopts "${pkgfiles}" -e ssh $server:staging/$repo || abort "error during upload"
-
+ rsync -c -h --progress $rsyncopts "${pkgfiles}" -e ssh $server:staging/$repo || abort
archrelease $repo-${_arch} || abort
done