This is the mail archive of the
mailing list for the Cygwin project.
Re: BASH_VERSION vs cygcheck
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: kenneth dot shaffer at sciatl dot com
- Cc: cygwin at cygwin dot com
- Date: Thu, 14 Apr 2005 17:28:39 -0400 (EDT)
- Subject: Re: BASH_VERSION vs cygcheck
- References: <Pine.CYG.4.58.0504141537120.2032@Crunch.bcgssbd.sciatl.com>
- Reply-to: cygwin at cygwin dot com
On Thu, 14 Apr 2005, Shaffer, Kenneth wrote:
> Should the version info provided by "echo $BASH_VERSION" match the bash
> version displayed by "cygcheck -cd"? If not, is there some way to verify
> that the bash I'm really running is the version displayed by cygcheck?
If you're running a bash that was installed via Cygwin setup, the version
reported by cygcheck should correlate with the value of BASH_VERSION (the
cygcheck-reported version should contain the Cygwin release number, and
$BASH_VERSION may contain extra bits of version info). IOW, if "cygcheck
-cd bash" reports version 2.05b-17, $BASH_VERSION will probably contain
something like 2.05b.0(1)-release. The bash executable is unlikely to
know about the Cygwin release number (though it's up to the maintainer
whether it does or not).
> Or, does cygcheck gets its version info from within the executable?
No, cygcheck uses the version of the "bash" package that was installed via
Cygwin setup. If you installed your own version of bash over the one
installed by setup, cygcheck will probably report incorrect information.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html