Re: Fir mkdir command in "Short Version" for installing from source

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: "Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>
Cc: "pgsql-docs@lists.postgresql.org" <pgsql-docs@lists.postgresql.org>
Date: 2022-03-14T09:08:05Z
Lists: pgsql-docs
> On 13 Mar 2022, at 17:05, Daniel Westermann (DWE) <daniel.westermann@dbi-services.com> wrote:

> if you follow that example step by step, the mkdir command will fail, obviously:
> https://www.postgresql.org/docs/current/install-short.html
> 
> Is it worth fixing that with "mkdir -p ..."? 

Well, it will fail unless the user already had /usr/local/pgsql/, but I hear
what you're saying.  Though I bet almost anyone following this will be able to
figure it out but there is little to no value in not being correct.

--
Daniel Gustafsson		https://vmware.com/




Commits

  1. doc: Ensure intermediate path creation with mkdir