delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/05/01:22:09

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
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: problem with mkdir -p
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Date: Tue, 5 Nov 2002 17:21:47 +1100
Message-ID: <4A133BBC82A97C42A9CC3BB41C4620CA4DB1CB@sydmxs01.salmat.com.au>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Ken Foskey" <Ken DOT Foskey AT salmat DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Reply-To: <foskey AT optushome DOT com DOT au>
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id gA56M8k30393

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

- Raw text -


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