From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311 Description of problem: /etc/bashrc could set PROMPT_COMMAND to "source /etc/sysconfig/bash-prompt-xterm" instead of executing directly. This would prevent an additional shell being run for trivial shell scripts (eg echo commands). Scripts that required a separate shell execution could trivially spawn a new shell in the script. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: This is a optimisation issue, rather than a bug per se. The system is currently performing as expected. Additional info: Simple change to /etc/bashrc (hence the setup package) at line 28 for setup-2.5.7-1: From: PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm To: PROMPT_COMMAND="source /etc/sysconfig/bash-prompt-xterm"
Hm, while this is an optimization, this would break making that an executable (dunno why you'd do that, but...)