On Friday 01 April 2005 04:07, Ciaran McCreesh wrote: > On Thu, 31 Mar 2005 20:46:31 +0200 Christoph Gysin <[EMAIL PROTECTED]> > > wrote: > | Juergen Fiedler wrote: > | > If you really feel the need to cram it all onto one line, you could > | > #CFLAGS="whatever" && CXXFLAGS=CFLAGS && emerge something > | > | without the typo and even smaller: > | # CFLAGS="whatever" && CXXFLAGS=$CFLAGS emerge something > > CFLAGS="whatever" CXXFLAGS="$CFLAGS" emerge fnord > > No &&.
Conflicting advice... On Thursday 31 March 2005 16:46, Aaron Walker wrote: > One thing to note though, is that your reasoning is flawed when setting > CXXFLAGS to $CFLAGS. CFLAGS wont be equal to "whatever" until after you > hit enter, so unless CFLAGS is already set in your env, CXXFLAGS will be > null. If it is set in your env, CXXFLAGS will be whatever CFLAGS is in > your env, not "whatever". /me checks which is correct. $ CFLAGS="old" $ CFLAGS="new" CXXFLAGS="$CFLAGS" echo $CFLAGS - $CXXFLAGS old - Woah... Ciaran is wrong! First time for everything, eh? *wink, nudge* Regards, Jason Stubbs -- [email protected] mailing list
