pacman/scripts/libmakepkg
Eli Schwartz d8717a6a96 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>
2018-03-14 17:47:51 +10:00
..
integrity Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_package Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild Update coyrights for 2018 2018-03-14 13:31:31 +10:00
source Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util makepkg: refactor checking for write permissions into a utility function 2018-03-14 17:47:51 +10:00
.gitignore libmakepkg: fix .gitignore to simply ignore all generated .sh files 2017-12-07 15:37:20 +10:00
integrity.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_package.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
lint_pkgbuild.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
source.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
srcinfo.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
tidy.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
util.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00