[Mageia-sysadm] [323] Do not succeed if we only get src.rpm as result

root at mageia.org root at mageia.org
Thu Jan 20 02:23:28 CET 2011


Revision: 323
Author:   pterjan
Date:     2011-01-20 02:23:27 +0100 (Thu, 20 Jan 2011)
Log Message:
-----------
Do not succeed if we only get src.rpm as result

Modified Paths:
--------------
    build_system/iurt/trunk/ulri

Modified: build_system/iurt/trunk/ulri
===================================================================
--- build_system/iurt/trunk/ulri	2011-01-19 17:26:34 UTC (rev 322)
+++ build_system/iurt/trunk/ulri	2011-01-20 01:23:27 UTC (rev 323)
@@ -368,7 +368,7 @@
 		    my $done_file = "$done_dir/${prefix}_$arch.done";
 
 		    plog('OK', "build ok: $result");
-		    $compildone->{$prefix}{$arch} = 1;
+		    $compildone->{$prefix}{$arch} = 1 unless $result =~ /src\.rpm$/;
 
 		    plog('DEBUG', "copy files to done");
 		    mkpath($done_dir);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110120/e1752123/attachment-0001.html>


More information about the Mageia-sysadm mailing list