This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkinstalldirs detritus


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]