Erik

    Testing FLAC file with unknown metadata... OK
    ./test_metaflac.sh: line 450: syntax error near unexpected token `then'
    ./test_metaflac.sh: line 450: `  then'


Do both /bin/bash and /bin/dash give exactly the same error message ?

Earl



________________________________
 From: Erik de Castro Lopo <[email protected]>
To: [email protected] 
Cc: Earl Chew <[email protected]> 
Sent: Sunday, March 11, 2012 3:16:11 AM
Subject: Re: [flac-dev] PATCH: Add test for metaflac --add-replay-gain
 
Earl Chew wrote:

> There is only one test to verify handling of harmonics of the filter table
> sampling frequencies.

Earl,

I've had a couple of attempts to get this patch working, without luck.

With this patch applied, when i run the test_metaflac.sh script, I get:

    Testing FLAC file with unknown metadata... OK
    ./test_metaflac.sh: line 450: syntax error near unexpected token `then'
    ./test_metaflac.sh: line 450: `  then'

It's basically barfing at this line:

  if [ -n "${ACTION##*:*}" ] ; then

Not sure where to go with this. You offerred Perl which I rejected mainly
because I read Perl :-). Are you comfortable with Python?

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to