pacman/scripts/libmakepkg/tidy
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
..
docs.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
emptydirs.sh.in libmakepkg: ensure emptydir find command acts on individual directories 2016-03-21 13:14:56 +10:00
libtool.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
purge.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
staticlibs.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
strip.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00
zipman.sh.in Update copyright years for 2016 2016-01-04 13:27:08 +10:00