[openbox] Problem with bash script in Openbox menu

Dana Jansens danakj at orodu.net
Sun Sep 15 10:28:45 EDT 2013


On Sat, Sep 14, 2013 at 3:34 PM, David Shaw <dj.shaw at btconnect.com> wrote:

> On 14/09/13 20:16, Dana Jansens wrote:
>
>> On Fri, Sep 13, 2013 at 4:15 PM, David Shaw <dj.shaw at btconnect.com>
>> wrote:
>>
>>> #!/bin/bash
>>>
>>
> <snip>
>
>
>  . $avernum.sh
>>>
>>>
>> Do you need the full path to the script here?
>>
>
> I hate you :-)
>
> How annoyingly simple.  But what I don't understand is that the directory
> containing my scripts is in my $PATH, so why aren't they being found?
>

The '.' command won't search your path. Do you need the script it runs to
be inside the same environment? Probably not. You can probably replace '.'
with 'exec' (or just with nothing) and then not need the full path.


>
> Ho hum.
>
> Many thanks for your patience with one who is very hard of thinking,
>
> David Shaw
>
>
>
> ______________________________**_________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/**listinfo/openbox<http://icculus.org/mailman/listinfo/openbox>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/openbox/attachments/20130915/b000aa02/attachment.html>


More information about the openbox mailing list