On 05/23/2011 09:41 AM, Paul Heinlein wrote:
> On Mon, 23 May 2011, Rich Shepard wrote:
> 
>> I have an application whose source code I download weekly from the 
>> subversion repository, configure, build, and install. The 
>> configuration options are many and I keep them in a text file, then 
>> copy them line-by-line to the command line. Is there a way to 
>> include the entire configuration-options file on the command line 
>> (after ./configure, or including that command in the file) in one 
>> step?
> 
> If you always download the Subversion repository to the same 
> directory, then just keep your configure options in a bash shell 
> script. E.g.,
> 
> #!/bin/sn
> svn export -q --force http://blah/blah/blah /your/build/directory
> cd /your/build/directory
> ./configure \
>    --option1=value1 \
>    --with-option2
> make

Or how about backticks?

./configure `cat myfile`

Carlos
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to