Re: [Bashburn-info] Substantial change to the configure function.
Brought to you by:
bashburn
|
From: Nick W. <ni...@uk...> - 2008-09-04 06:43:22
|
On Thu, 4 Sep 2008 07:21:39 +0100 Nick Warne <ni...@uk...> wrote: > > By looking at the trace, you should see: > > the value of size should be 1. > > The value of desc[0] should be "theVarYouChanged:newval" > > > > Send me the typescript file. > > Good man - I am NOT bonkers :-) > > Please enter 'n' (Back) ^[[1;31m|^[[1;0m 'y' (Apply changes) > ^[[1;31m+--------------+-------------+--------------+^[[1;0m > ^[[1;35m|> ^[[1;0my > mktemp: cannot create temp file bbcfg.XXXXX: Invalid argument > /usr/bin/BashBurn/config/apply_options.sh: line 48: $tmpfile: > ambiguous redirect cp: missing destination file operand after > `/home/nick/.bashburnrc' Try `cp --help' for more information. > rm: missing operand > Try `rm --help' for more information. OK, I got it to work :-))) It doesn't like the double declaration of 'tmpfile' in the two functions. If I change the second decl. in conf_set_aval() to 'tmpfile2' all works well. For info: GNU bash, version 3.1.17(2)-release (i486-slackware-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc. Nick -- Free Software Foundation Associate Member 5508 |