[pacman-dev] [PATCH v4] makepkg: refactor checking for write permissions into a utility function

Allan McRae allan at archlinux.org
Wed Mar 14 07:48:18 UTC 2018

On 08/02/18 14:56, Eli Schwartz wrote:
> Additionally provide a separate error for failure to create the
> directory vs lack of write permissions on a pre-existing directory.
> This also means we now consistently try to create any nonexistent *DEST
> directories as needed before aborting with E_FS_PERMISSIONS. Previously
> only $BUILDDIR received that kindness.
> Fixes FS#43537
> Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
> ---
> v4: instead of complex directory/file checking, just abort on
> "failure to create a directory"

This version looks good.  Pulled to my patchqueue branch.


More information about the pacman-dev mailing list