doc: Ensure intermediate path creation with mkdir
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Mar 2022 10:38:29 +0000 (11:38 +0100)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 16 Mar 2022 10:38:29 +0000 (11:38 +0100)
commit3ac577b912fb869f8c472c66f9bd60db833a103a
tree62ffeb5ebb7b5c2e52f1262dd5f9b31899cc60c8
parent7e74aafc4335e743199c6c68ca9dd539053db9e5
doc: Ensure intermediate path creation with mkdir

The mkdir command in the Installation from Source Short Version docs
didn't use the -p intermediate path creation parameter which likely
would cause the command to fail.  At the time of writing, -p wasn't
universally available but it can now be relied upon existing. The -p
parameter is defined by POSIX, at least since posix-2004.

Reported-by: Daniel Westermann <daniel.westermann@dbi-services.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/ZR0P278MB0920263E7F2D546A33E50079D20E9@ZR0P278MB0920.CHEP278.PROD.OUTLOOK.COM
doc/src/sgml/installation.sgml