1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-17 23:05:00 -05:00
pacman/scripts
Allan McRae baf1ff64e6 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>
2016-03-21 13:14:56 +10:00
..
libmakepkg libmakepkg: ensure emptydir find command acts on individual directories 2016-03-21 13:14:56 +10:00
library Consistently use 'directory' instead of 'folder' 2014-01-28 21:37:00 +10:00
po makepkg: Remove upx and optipng support 2016-02-26 15:18:43 +10:00
.gitignore makepkg: run locally with libtool style wrapper 2013-10-14 13:01:03 +10:00
Makefile.am makepkg: Remove upx and optipng support 2016-02-26 15:18:43 +10:00
makepkg-template.pl.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
makepkg-wrapper.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
makepkg.sh.in makepkg: Turn PACMAN_OPTS into an array 2016-02-26 15:18:43 +10:00
pacman-db-upgrade.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pacman-key.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pacman-optimize.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
pkgdelta.sh.in pkgdelta: Use high compression options offered by xdelta3 2015-01-02 21:48:59 +10:00
repo-add.sh.in repo-add: do not alter the database if only verifying signature 2016-02-26 15:18:44 +10:00