[Mageia-sysadm] [294] check for rpmbuild binary, not just rpm

root at mageia.org root at mageia.org
Fri Jan 14 08:43:11 CET 2011


Revision: 294
Author:   blino
Date:     2011-01-14 08:43:10 +0100 (Fri, 14 Jan 2011)
Log Message:
-----------
check for rpmbuild binary, not just rpm

Modified Paths:
--------------
    build_system/iurt/trunk/lib/Iurt/Urpmi.pm

Modified: build_system/iurt/trunk/lib/Iurt/Urpmi.pm
===================================================================
--- build_system/iurt/trunk/lib/Iurt/Urpmi.pm	2011-01-13 17:19:49 UTC (rev 293)
+++ build_system/iurt/trunk/lib/Iurt/Urpmi.pm	2011-01-14 07:43:10 UTC (rev 294)
@@ -542,7 +542,7 @@
 
     # <mrl> URPMI saying ok or not, we check this anyway. So that's why
     # it's outside the else.
-    if (! -f "$chroot_tmp/bin/rpm") {
+    if (! -f "$chroot_tmp/usr/bin/rpmbuild") {
 	plog(1, "ERROR: rpm-build is missing!");
 	$ok = 0;
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110114/fb89a818/attachment-0001.html>


More information about the Mageia-sysadm mailing list