Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=980e190c4c79489c19f5725474765895c1d47af9

commit 980e190c4c79489c19f5725474765895c1d47af9
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Wed Aug 10 20:14:46 2011 +0200

repoman: sync should not ignore the return code of upload

diff --git a/repoman b/repoman
index 161cba0..9021a93 100755
--- a/repoman
+++ b/repoman
@@ -709,7 +709,11 @@ sync()
if ls *-$arch.fpm &>/dev/null; then
for i in *-$arch.fpm
do
-                       _check_nobuild || dry_run upload $i frugalware-$arch/
+                       if ! _check_nobuild; then
+                               if ! dry_run upload $i frugalware-$arch/; then
+                                       return 1
+                               fi
+                       fi
done
fi
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to