Re: mkinstalldirs detritus

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

 



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 of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux