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

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;
     }