Paul Eggert <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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