delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/09/05:03:50

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <t4bs AT hotmail DOT com>
From: "Trevor Forbes" <trevorf AT idl DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Subject: cygwin symlink? bug
Date: Sun, 9 Feb 2003 19:33:39 +0930
Message-ID: <000901c2d022$869cbe80$0200a8c0@ufo>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019