On Oct 21, 2010, at 6:53 AM, Markus Roberts <[email protected]> wrote:
Won't $PATH get longer each time you run this? > > Or is there magic happening that I'm not seeing? > Doh! I just wasn't thinking clearly; it's being executed, not sourced, so the modified values of $PATH & $RUBYLIB don't reach the caller. Yes, I could be smarter about re-ordering the existing list if a path element already exists in the list, but treating PATH as a stack and pushing everything to the front in the order we need works and is much more simple if not as efficient. -Jeff -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
