I am having problem with some of my build scripts and the following
demonstrates the problem:

If run the following (as a script) I get -- /tmp/foo/bar
# !/bin/bash 
cd /tmp; mkdir -p foo/bar; ln -f -s foo/bar bar; cd bar; pwd; cd ..

If I type the line in a shell then I get what I expected -- /tmp/bar

I am using cygwin-1.3.20-1 but do not I think it is a new feature.

Is my logic correct? 

Regards Trevor 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to