base-files-4.1-1: Setting CYG_SYS_BASHRC in bash.bashrc has no effect
Setting CYG_SYS_BASHRC in bash.bashrc has no effect because it is run a (...subshell...) environment: Fix: --- defaults/etc/bash.bashrc2012-02-27 22:03:33.00100 +0100 +++ bash.bashrc 2012-02-28 11:00:30.657407200 +0100 @@ -20,3 +20,3 @@ # Check that we haven't already been sourced. -([[ -z ${CYG_SYS_BASHRC} ]] CYG_SYS_BASHRC=1) || return +{ [[ -z ${CYG_SYS_BASHRC} ]] CYG_SYS_BASHRC=1; } || return or without any parentheses: +[[ -z ${CYG_SYS_BASHRC} ]] CYG_SYS_BASHRC=1 || return Older issue since base-files-4.0-4. AFAICS it does not break anything. Christian -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: base-files-4.1-1: Setting CYG_SYS_BASHRC in bash.bashrc has no effect
On Tue, Feb 28, 2012 at 11:23:07AM +0100, Christian Franke wrote: Setting CYG_SYS_BASHRC in bash.bashrc has no effect because it is run a (...subshell...) environment: Thanks. Applied. will be available in next release. -- Huella de clave primaria: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56 signature.asc Description: Digital signature