autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AS_MKDIR_P bug/patch


From: Andreas Schwab
Subject: Re: AS_MKDIR_P bug/patch
Date: Fri, 26 Sep 2003 13:11:11 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> @@ -690,6 +690,7 @@ m4_defun([_AS_MKDIR_P_PREPARE],
>  [if mkdir -p . 2>/dev/null; then
>    as_mkdir_p=:
>  else
> +  rm -fr ./-p

IMHO using rmdir here has less change of destoying a pre-existing
directory (and if it's created by mkdir it should be empty anyway).

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 N├╝rnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]