Doing it right now. BTW, this code is surprisingly complicated to do a simple function. I'll add to my todo list to revise apex-env so that it can emit a list of commands to save/restore the environment using a shell script.
On Thu, Sep 24, 2009 at 12:22 PM, Martin Michlmayr <t...@cyrius.com> wrote: > Package: apex-nslu2 > Version: 1.6.9 > Severity: serious > > Debian user Al reported that apex-nslu2 fails to install: > http://lists.debian.org/debian-arm/2009/09/msg00027.html > > I can confirm this. It's caused by a chance of behaviour in bash that > breaks flash-apex. Since this change was made intentionally [1], > flash-apex needs to be updated. Can you please upload with this patch > asap: > > --- usr/flash-apex~ 2009-09-24 20:18:16.000000000 +0100 > +++ usr/flash-apex 2009-09-24 20:18:31.000000000 +0100 > @@ -70,7 +70,7 @@ > pad=$(expr $mtdblocksize - $lsize - 16) > # Store non-default APEX configuration > tmp=$(tempfile) > - (apex-env printenv | egrep -v '\*=') > $tmp > + (apex-env printenv | egrep -v '\*=') > $tmp || true > printf "Flashing loader: " >&2 > ( > sercomm_header $(expr $lsize + 16) > > > [1] See http://lists.gnu.org/archive/html/bug-bash/2009-09/msg00072.html > -- > Martin Michlmayr > http://www.cyrius.com/ > > > >