Fix recent pm-powersave dk-p patch
Richard Hughes
hughsient at gmail.com
Sun Jun 28 04:46:34 PDT 2009
On Sun, Jun 28, 2009 at 12:39 PM, Martin Pitt<martin.pitt at ubuntu.com> wrote:
> I don't particularly like it either, TBH, but it seemed less evil to
> me than hardcoding /usr/sbin. If you prefer the latter, I'm fine with
> that, I just thought that we shouldn't break /usr/local.
I've hardcoded them, like I did with the other pm-suspend and
pm-hibernate executables.
> That would just apply to pm-powersave itself; this is good and
> necessary, since the scripts which are called through it might rely on
> a sensible $PATH. But passing envp to g_spawn_() doesn't help
> g_spawn() _itself_ to find the program you are trying to run (in fact
> this was my first idea as well, but I tried it and it doesn't work).
Cool, thanks. I'll roll a release this week if it makes it easier for you.
Richard.
More information about the devkit-devel
mailing list