This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: problem with mkdir -p
On Tue, Nov 05, 2002 at 05:21:47PM +1100, Ken Foskey wrote:
>
>/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
>....
http://cygwin.com/bugs.html
--
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/