[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

PATCH don't bother checking for an RPMS dir in buildinstall



Since we're killing off the RPMS/ dir, the if block to find the PKGDIR is not 
necessary anymore, we know it is in $PRODUCTPATH/.  This patch just sets it 
that way.  Trial.

-- 
Jesse Keating
Release Engineer: Fedora
--- ./scripts/buildinstall.norpms	2007-03-07 17:24:27.000000000 -0500
+++ ./scripts/buildinstall	2007-03-07 17:24:50.000000000 -0500
@@ -90,11 +90,7 @@
 fi
 
 p=`cd $DIR; /bin/pwd`
-if [ -d $DIR/$PRODUCTPATH/RPMS ]; then
-    PKGDIR=$p/$PRODUCTPATH/RPMS
-else
-    PKGDIR=$p/$PRODUCTPATH
-fi
+PKGDIR=$p/$PRODUCTPATH
 
 if [ -z "$BUILDINSTDIR" ]; then
     BUILDINSTDIR=$p/buildinstall.tree.$$

Attachment: pgpklcxWvYRqp.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]