QtMoko - /opt/qtmoko/bin/lan-network

Radek Polak psonek2 at seznam.cz
Wed Sep 23 08:42:46 CEST 2009


Torfinn Ingolfsen wrote:

> The network script /opt/qtmoko/bin/lan-network have this on line 73:
> 
> let COUNT=COUNT+1
> 
> I don't know which shell allows this (it's certainly not POSIX), and
> QtMoko (v11 now) which uses bash complains:
> Sep 22 23:05:00 neo Qtopia: + let COUNT=COUNT+1
> Sep 22 23:05:00 neo Qtopia: /opt/qtmoko//bin/lan-network: 1: let: not
> found
> 
> If you instead change the line to:
> COUNT=$(( $COUNT + 1 ))

Good catch, its fixed now in my git.

Thanks

Radek




More information about the community mailing list