automake
[Top][All Lists]
Advanced

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

Re: mkinstalldirs detritus


From: Eric Sunshine
Subject: Re: mkinstalldirs detritus
Date: Fri, 26 Sep 2003 13:15:33 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

Alexandre Duret-Lutz wrote:
Thank you.  Automake is the master for this file.  Given
Andrea's comment and yours about _AS_MKDIR_P_PREPARE, how about
the following instead?
+      test -d ./-p && rmdir ./-p
+      test -d ./-- && rmdir ./--
+      # Clean up after NextStep and OpenStep mkdir.
+      for d in ./-m ./-p ./-- "./$dirmode";
+      do
+        test -d $d && rmdir $d
+      done

This looks ideal.  It should work very nicely.  Thank you.

-- ES





reply via email to

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