[PATCH][RESEND] use autoconf MKDIR_P to reduce usage of legacy mkinstalldirs script

Rolf Eike Beer eb at emlix.com
Thu Oct 12 20:59:57 AEDT 2017

Basically all platforms have a proper "mkdir -p". Autoconf has install-sh as 
fallback when using AC_PROG_MKDIR_P, which is also hardened against races if 
it is recent enough. Update that script and use MKDIR_P whereever possible.

Installs fine in my tests and avoids the "mkdir: cannot create directory '…': 
File exists" messages along the way.


Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Bertha-von-Suttner-Str. 9, 37085 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix – smart embedded open source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-use-AC_PROG_MKDIR_P-to-get-mkdir-p-or-substitute.patch
Type: text/x-patch
Size: 27530 bytes
Desc: not available
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20171012/fad83b6e/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 313 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20171012/fad83b6e/attachment-0001.asc>

More information about the openssh-unix-dev mailing list