Mail Archives: cygwin/2006/09/28/22:59:11
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
*There is NO bash 3.1.18* - just 3.1.17 release 8
According to Wilks, Dan on 9/28/2006 11:30 AM:
> Apologies that this is being written the day after without real output.
> I'm now at my desk without easy access to the machine in question.
> But...
>
> We've been using Cygwin with text-mode mounts for a long time without
> any problems. A new engineer started the other day, installed a
> brand-spanking-new cygwin and came to me with problems running a build.
> Without going into details of the build system, after a few hours I
> discovered that (all examples are from a cmd shell), foo.sh contains the
> single line "date; date<cr><lf>"
>
> C:> cd temp
> C:\temp> sh foo.sh -- works
> C:\temp> sh C:/temp/foo.sh - fails
> C:\temp> sh C:\temp\foo.sh - fails
>
> The failures were of a form where the first command on a line works but
> the second generates an error.
Sounds like the \r is being interpreted literally. Use POSIX paths, not
Windows paths, if you want your mount point settings to be honored.
>
> Oh, and when we downloaded just bash 3.1.6(17?) it didn't overwrite the
> old sh.
Get your versions right. That would be bash 3.1.17 release 6.
The bash postinstall script is designed for upgrades only. If /bin/sh is
newer in timestamp than the newly installed /bin/bash, no upgrade occurs.
This is a feature. However, it makes downgrades a little awkward. To
successfully downgrade, you need to manually 'cp /bin/bash.exe /bin/sh.exe'.
- --
Life is short - so eat dessert first!
Eric Blake ebb9 AT byu DOT net
volunteer cygwin bash maintainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFHIwE84KuGfSFAYARAv+kAJ9v/8vLVWzSPMIyVG8DNDIkj029kACg0/b5
2LYcIxc6xmZ08EpX0lg+T44=
=UTDB
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -