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

Re: buildinstall fails



Ah - it looks as if the bug I just found in the CentOS 5.1 version of anaconda is still present here.  If you have a CDPATH set and run buildinstall using a relative root path, DIR will end up with two lines.  It doesn't look as bad here as in the old version (where DIR immediately got deleted!), but I would recommend 

--- a/scripts/buildinstall      2008-02-19 22:54:02.000000000 +0000
+++ b/scripts/buildinstall      2008-02-21 10:32:27.000000000 +0000
@@ -86,7 +86,7 @@
     BUGURL="your distribution provided bug reporting tool."
 fi

-DIR=`cd $DIR; /bin/pwd`
+DIR=`cd $DIR > /dev/null; /bin/pwd`

 BUILDINSTDIR=`mktemp -d ${TMPDIR:-/tmp}/buildinstall.tree.XXXXXX`
 TREEDIR=`mktemp -d ${TMPDIR:-/tmp}/treedir.XXXXXX`


Moray.
"To err is human.  To purr, feline"
http://members.aol.com/edgwddirk 



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