Upload: bash-3.0-6

Eric Blake ebb9@byu.net
Thu Jul 7 13:21:00 GMT 2005

Hash: SHA1

According to Corinna Vinschen on 7/7/2005 7:00 AM:
> What version of cygcheck were you using?  My version of cygcheck
> from the latest release doesn't print "Error: could not find ...
> but "...: Cannot open".  And the cygcheck version from cvs prints
> the same.  Let's release new bash and ash packages ASAP!

Ah - here's the difference:

$ cygcheck --version
cygcheck version 1.74
System Checker for Cygwin
Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Red Hat, Inc.
Compiled on Jul  2 2005

$ cygcheck /bin/none
c:/cygwin/bin/none - Cannot open

$ cygcheck none
Error: could not find none

I don't know why absolute vs. relative changes the error message, or why I
thought that testing relative was good enough when writing the scripts,
but the best approach is to check for BOTH errors:

case ...
  *Error:\ could\ not\ find* | *Cannot\ open*) update=yes ;;

- --
Life is short - so eat dessert first!

Eric Blake             ebb9@byu.net
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org


More information about the Cygwin-apps mailing list