pacman/scripts
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
..
completion use pacman-conf in bash completion 2018-01-19 12:04:45 +10:00
libmakepkg makepkg: refactor checking for write permissions into a utility function 2018-03-14 17:47:51 +10:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po makepkg: warn about dotfiles in package root 2017-01-04 13:59:14 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am makepkg: refactor archive compression for reusability 2017-12-07 15:46:04 +10:00
makepkg-template.pl.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
makepkg.sh.in makepkg: refactor checking for write permissions into a utility function 2018-03-14 17:47:51 +10:00
pacman-db-upgrade.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pacman-key.sh.in Added gpg-agent.conf to disable the gnupg scdaemon 2018-03-14 17:45:08 +10:00
pkgdelta.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
repo-add.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
wrapper.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00