delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/12/12:25:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <200101121716.JAA01231@numericalmethods.com>
Date: Fri, 12 Jan 2001 09:16:14 -0800 (PST)
From: mark AT numericalmethods DOT com
Reply-To: mark AT numericalmethods DOT com
Subject: bug with mkdir
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

I think I may have found a bug in mkdir.

When I try 

  mkdir -p <relpath>/dir

Everything works fine. However,

  mkdir -p <abspath>/dir

it does not matter if the -p is superfluous or not, the directory is
still not made.

So,

try:

  mkdir -p $HOME/test

and see if the directory exists, if not (your behaviour matches mine),
try

  mkdir $HOME/test

The behaviour I am seeing is that the latter works as expected and the
former fails.

  mkdir -p ./test1/test2/test3

works just fine, but not

  mkdir -p `pwd`/test1/test2/test3

mark.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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