-----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 [EMAIL PROTECTED] -----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-----
