index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Michael Straube <michael.straubej@gmail.com> | 2020-10-15 12:56:26 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-10-21 11:19:01 +1000 |
commit | 4d8f58d3b940f778b27c59e53ea9f3fab20a07ba (patch) | |
tree | 0ded3f12511008f68cde6d2cf5df486f7ce210d8 /scripts/libmakepkg/tidy/emptydirs.sh.in | |
parent | c99a3cc867ee5bf725a5d33d57120c3764aeb41e (diff) |
-rw-r--r-- | scripts/libmakepkg/tidy/emptydirs.sh.in | 2 |
diff --git a/scripts/libmakepkg/tidy/emptydirs.sh.in b/scripts/libmakepkg/tidy/emptydirs.sh.in index 902ea317..ffa0276f 100644 --- a/scripts/libmakepkg/tidy/emptydirs.sh.in +++ b/scripts/libmakepkg/tidy/emptydirs.sh.in @@ -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 } |