problem with mkdir -p

Ken Foskey Ken.Foskey@salmat.com.au
Mon Nov 4 22:21:00 GMT 2002


/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/



More information about the Cygwin mailing list