Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools/.git;a=commitdiff;h=583cd8a5ed36607fd5ed006b73d281075b80abf6
commit 583cd8a5ed36607fd5ed006b73d281075b80abf6
Author: VMiklos <[EMAIL PROTECTED]>
Date: Fri Aug 3 00:14:01 2007 +0200
repoman: upload fpms before push
- this way we can determine if an automated build is necessary or not right
after
the push
- thx krix for the idea
diff --git a/repoman b/repoman
index 08ea268..1648c96 100755
--- a/repoman
+++ b/repoman
@@ -385,6 +385,13 @@ sync()
{
ls *-$arch.fpm &>/dev/null && srcdel
+ if ls *-$arch.fpm &>/dev/null; then
+ for i in *-$arch.fpm
+ do
+ echo [EMAIL PROTECTED] | grep -q nobuild || dry_run
upload $i frugalware-$arch/
+ done
+ fi
+
modpkgname=$(echo $pkgname | sed 's/\+/\\+/g')
if [ -n "$noask" ]; then
opts="-a"
@@ -400,13 +407,6 @@ sync()
# here we _could_ upload the new sources but that'll be done by changelog()
- if ls *-$arch.fpm &>/dev/null; then
- for i in *-$arch.fpm
- do
- echo [EMAIL PROTECTED] | grep -q nobuild || dry_run
upload $i frugalware-$arch/
- done
- fi
-
buildlog="$pkgname-$pkgver-$pkgrel-$arch.log"
if [ -f $buildlog -o -f $buildlog.bz2 ]; then
[ -f $buildlog ] && dry_run bzip2 $buildlog
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git