[maemo-developers] [maemo-developers] Usa of "source" in startup scripts

From: Weinehall David (Nokia-M/Tampere) David.Weinehall at nokia.com
Date: Fri Jun 17 16:21:32 EEST 2005
On fre, 2005-06-17 at 13:26 +0200, ext Florian Boor wrote:
> Hello,
> 
> while integrating some maemo software into OpenEmbedded i ran into trouble
> because many startup scripts used "source" instead of "." to source external
> files. This seems to be a feature of bash and isn't implemented in busybox ash i
> use for the OpenEmbedded images.
> To make these scripts more portable i suggest to use ".".

Yup, definitely a bug.  I think I need to package my "evilfinder" some
day; basically a program that scans shell-scripts and makefiles to find
use of non-POSIX shell functionality, and other non-POSIX things.

> I have some patches for various maemo bits attached.

Thanks!


Regards: David Weinehall

More information about the maemo-developers mailing list