[Geany-devel] Missing environment variables for builds and executes - dash

Nick Treleaven nick.treleaven at xxxxx
Thu Nov 25 17:12:08 UTC 2010


On Thu, 25 Nov 2010 11:24:07 +1100
Lex Trotman <elextr at gmail.com> wrote:

> >> > Unfortunately I don't know that a shell login argument is portable. I
> >> > think -l is specific to bash, but even --login doesn't work for dash
> >> > (the default /bin/sh on Ubuntu IIRC).
> >>
> >> Patch actually developed and tested on Ubuntu.
> >
> > Maybe yours is Bash then.
> 
> No bin/sh -> dash
> 
> >
> > A while ago I saw:
> > https://wiki.ubuntu.com/DashAsBinSh
> >
> > And my dash-0.5.4-2.fc8 doesn't seem to have a login argument.
> 
> Correct IAW the POSIX spec.
> 
> Yet the patch worked on my system??

Well either your dash supports -l or the shell that gets run isn't
dash. Anyway, -l is non-standard and there could be systems it
wouldn't work on.

Nick



More information about the Devel mailing list