On Mon, May 16, 2005 at 10:00:09AM +0200, Olle E. Johansson wrote:
> The vercomp.sh depends on "/bin/bash" - which of course is installed
> somewhere else on a FreeBSD server and in a lot of my systems is not
> installed at all.

[/home/edwin/asterisk/asterisk] [EMAIL PROTECTED]>cat /etc/redhat-release 
Fedora Core release 2 (Tettnang)
[/home/edwin/asterisk/asterisk] [EMAIL PROTECTED]>uname -a 
Linux tardis.barnet.com.au 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004 
i686 i686 i386 GNU/Linux

[/home/edwin/asterisk/asterisk] [EMAIL PROTECTED]>./vercomp.sh flex = 2.5.31
./vercomp.sh: line 27: conditional binary operator expected
./vercomp.sh: line 27: syntax error near `=~'
./vercomp.sh: line 27: `[[ $progver1 =~ '([^ ]+$)'  ]]'

Somebody actually managed to get it running?

> Is it possible for a good shell hacker to rewrite this to standard
> boring bourne shell so that we do not have to add another dependability
> to outside software in Asterisk?

I'll give it a try, but don't expect it to give the same results
as it does do now :-)

Edwin
-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
[EMAIL PROTECTED]    |          Weblog: http://weblog.barnet.com.au/edwin/
_______________________________________________
Asterisk-Dev mailing list
Asterisk-Dev@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-dev
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to