This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Upload: bash-3.0-6


-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
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

iD8DBQFCzSxI84KuGfSFAYARAtsaAKCvr62fCFPEBJCg2eHDBQp5R0jeTACgsPr9
uOl/spJs2e9bzNVKigvtsk0=
=tTta
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]