summaryrefslogtreecommitdiffstats
path: root/scripts/libmakepkg/.gitignore
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2016-03-21 02:49:16 +0100
committerAllan McRae <allan@archlinux.org>2016-03-21 04:14:56 +0100
commitbaf1ff64e6ea23e93f307480480d87159cd2e487 (patch)
tree8ac96f4674e206eb4a1e600b07670f1c5a21cbb0 /scripts/libmakepkg/.gitignore
parent02731189f1ced6050238e4af7e76a54d4ac6f3bd (diff)
downloadpacman-baf1ff64e6ea23e93f307480480d87159cd2e487.tar.gz
pacman-baf1ff64e6ea23e93f307480480d87159cd2e487.tar.xz
libmakepkg: ensure emptydir find command acts on individual directories
Using "-exec command {} +" systax exits on any error. Such errors occur when running rmdir on a non-empty directory. Switch to "{} ;" syntax instead which avoids exiting before the find command is completed. Fixes FS#48515. Note, we can not use "-empty" in the find command because it is not supported by Busybox find, and the "--ignore-fail-on-non-empty" flag for rmdir is not available on BSD rmdir variants. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/.gitignore')
0 files changed, 0 insertions, 0 deletions