On Fri, Apr 2, 2010 at 12:39 PM, Denis Heidtmann
<[email protected]>wrote:

> On Fri, Apr 2, 2010 at 11:55 AM, Joe Pruett <[email protected]> wrote:
>
>> bash 3.2 on my system doesn't show this problem.  are you sure the full
>> path and relative path actually get to the same script?  could you be
>> accidentally running two different scripts?  or maybe it is some odd
>> bash bug, what version do you have?
>>
>
> Since /etc/gdm/PostSession/Default is a .sh script, I must use that shell,
> also known as dash.  Maybe bash will not show the problem.  I have version
> 3.2.48(1)-release (x86_64-pc-linux-gnu).
>
> -Denis
>
> It turns  out that I jumped to an  invalid conclusion.  The issue is not
with bash, but with dash.   But my problem remains.  I need to use dash, and
the policy wants the script to be sourced.  My only solution at this time is
to have a separate script with the argument coded into it.  I would prefer
not to do that, but even more I would like to understand the behavior.

-Denis
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to