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

Torfinn Ingolfsen tingox at gmail.com
Wed Sep 23 00:45:31 CEST 2009


Hi,

This probably goes for other QT / Qtopia based distributions too.
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 ))

it works. Hopefully this will work on other POSIX compliant shells too.

HTH
-- 
Regards,
Torfinn Ingolfsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090923/8064b25f/attachment.htm 


More information about the community mailing list