diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-02-08 05:56:01 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-03-14 08:47:51 +0100 |
commit | d8717a6a9666ec80c8645d190d6f9c7ab73084ac (patch) | |
tree | 9bf11011019478fa1d1bd85677be0f493197f91b /scripts/libmakepkg/integrity.sh.in | |
parent | 0565cebfc387be67e0daac73a4d0a312965ca1d3 (diff) | |
download | pacman-d8717a6a9666ec80c8645d190d6f9c7ab73084ac.tar.gz pacman-d8717a6a9666ec80c8645d190d6f9c7ab73084ac.tar.xz |
makepkg: refactor checking for write permissions into a utility function
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@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/integrity.sh.in')
0 files changed, 0 insertions, 0 deletions