On Tue, Mar 29, 2005 at 12:41:11PM +1000, Donovan Baarda wrote: > In /etc/X11/gdm/Xsession and /etc/X11/Xsession there is some scripting > designed to list run-parts style scripts in a directory that need to > be sourced. Next to this code is the following comment; > > # until run-parts --noexec is implemented > > The scripts need to be sourced, not executed, because they rely on and > set environment variables that are not exported. > > It looks like lessdisks will also need this functionality, and I'm > sure others could benefit from it. > > It is possible to use --test to list the scripts and source them in a > for loop, but --noexec would be nicer.
Er, sorry. What do you want --noexec to do? run-parts is physically incapable of "sourcing" scripts into a shell script, especially one that is its parent process. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]