diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-05-31 04:50:23 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-06-18 05:15:51 +0200 |
commit | c37a06fe1d1fbd2be73adc725323e8a4665eeb09 (patch) | |
tree | fb61a7672abd61e84a8213072c1fd25205d29b34 /scripts/libmakepkg/lint_pkgbuild/provides.sh.in | |
parent | 9eb3695a3ff850b9dff66d667a4b27be1a233f42 (diff) | |
download | pacman-c37a06fe1d1fbd2be73adc725323e8a4665eeb09.tar.gz pacman-c37a06fe1d1fbd2be73adc725323e8a4665eeb09.tar.xz |
libmakepkg: when checking for write permissions, handle pre-existing dirs
Simplifies the function a bit, but mostly, mkdir -p will never fail if
the directory exists, and therefore makepkg never checks to see if it is
actually writable. On the other hand, it's unnecessary to check if the
directory exists once we know mkdir -p succeeded...
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/lint_pkgbuild/provides.sh.in')
0 files changed, 0 insertions, 0 deletions