This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re:symlinks
- From: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Feb 2002 11:30:43 +0100 (MET)
- Subject: Re:symlinks
- Reply-to: Jorge Goncalvez <goncal11 at col dot bsf dot alcatel dot fr>
Hi, I have made a symlink with the cygwin command ln -s and i wanted to remove
it by Perl code:
I have this:
$PROG2 = "C:\\cygwin\\bootp\\linux\\install ";
if (-l $PROG2)
{
system "rm $PROG2";
}
else{
print "popo";
}
The problem is that the symlink install it isn't removed althought it is present
with ls -l in the good directory?
Why?
I tested my rm command by hand and it works it seems -l not working.
Thanks.
--
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/