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:
parent
c99a3cc867
commit
4d8f58d3b9
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ tidy_remove+=('tidy_emptydirs')
|
||||||
tidy_emptydirs() {
|
tidy_emptydirs() {
|
||||||
if check_option "emptydirs" "n"; then
|
if check_option "emptydirs" "n"; then
|
||||||
msg2 "$(gettext "Removing empty directories...")"
|
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
|
find . -depth -type d -exec rmdir '{}' \; 2>/dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue