Re: executing commands via bash variables

2007-08-20 Thread J.R. Hass
On 8/19/07, Trent Shea <[EMAIL PROTECTED]> wrote: > On Sunday 19 August 2007 15:11, J.R. Hass wrote: > > Is there a way to store that command in a variable and then run it > > from the command line via a variable? > > You might try playing around with an alias rather than export, but it's > probabl

Re: executing commands via bash variables

2007-08-19 Thread Trent Shea
On Sunday 19 August 2007 15:11, J.R. Hass wrote: > Is there a way to store that command in a variable and then run it > from the command line via a variable? You might try playing around with an alias rather than export, but it's probably better to separate the CC= from the command. ... export CC

Re: executing commands via bash variables

2007-08-19 Thread rblythe
J.R. Hass wrote: > After having binutils fail right off the bat, I checked the errata and > it appears I need to add > > CC="gcc -B/usr/bin/" to the configure line when building binutils. > > The problem is, if I do something like this > > export command='CC="gcc -B/usr/bin/" ../binutils/configure

executing commands via bash variables

2007-08-19 Thread J.R. Hass
As an exercise in both Linux and Bash, I've been trying to write some scripts on my own to automate the building of an LFS system. After having binutils fail right off the bat, I checked the errata and it appears I need to add CC="gcc -B/usr/bin/" to the configure line when building binutils. Th