makepkg: emptydirs: fix typo

Fix typo in a comment in tidy_emptydirs().

Signed-off-by: Michael Straube <michael.straubej@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Michael Straube 2020-10-15 12:56:26 +02:00 committed by Allan McRae
parent c99a3cc867
commit 4d8f58d3b9

View file

@ -33,7 +33,7 @@ tidy_remove+=('tidy_emptydirs')
tidy_emptydirs() {
if check_option "emptydirs" "n"; then
msg2 "$(gettext "Removing empty directories...")"
# we are unable to use '-empty' as it is non-POSIX and not support by all find variants
# we are unable to use '-empty' as it is non-POSIX and not supported by all find variants
find . -depth -type d -exec rmdir '{}' \; 2>/dev/null
fi
}