Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Tue, 5 Nov 2002 01:26:25 -0500 From: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: problem with mkdir -p Message-ID: <20021105062625.GA1383@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4A133BBC82A97C42A9CC3BB41C4620CA4DB1CB AT sydmxs01 DOT salmat DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A133BBC82A97C42A9CC3BB41C4620CA4DB1CB@sydmxs01.salmat.com.au> User-Agent: Mutt/1.5.1i 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/