This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
problem with mkdir -p
- From: "Ken Foskey" <Ken dot Foskey at salmat dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Tue, 5 Nov 2002 17:21:47 +1100
- Subject: problem with mkdir -p
- Reply-to: <foskey at optushome dot com dot au>
/apps/ is a link and the mkdir -p tries to create it and then fails because it already exists.
PC2765: /data/reprint
$ make install
mkdir -p /apps/bin/cba/bin
mkdir: cannot create directory `/apps': File exists
make: *** [/apps/bin/cba/bin] Error 1
PC2765: /data/reprint
$ ls -ald /apps
lrwxrwxrwx 1 Administ None 113 Mar 22 2002 /apps -> /cygdrive/c/data/apps
man mkdir
....
-p, --parents
no error if existing, make parent directories as needed
....
Thanks
KenF
**************************************************************************************
This e-mail and any files transmitted with it are confidential to Salmat Pty Ltd intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please return to the sender and delete from your systems.
This e-mail message has been swept for the presence of computer viruses known to Salmat's virus patterns.
Salmat Pty Ltd ACN 066 833 458
**************************************************************************************
--
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/