Merge pull request #105818 from raboof/symlink-compressed-manpages-deterministically

compress-man-pages: symlink compressed manpages deterministically
This commit is contained in:
Anderson Torres 2020-12-07 23:37:35 -03:00 committed by GitHub
commit cef4502feb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ compressManPages() {
# Point symlinks to compressed manpages. # Point symlinks to compressed manpages.
find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \ find "$dir"/share/man/ -type l -a '!' -regex '.*\.\(bz2\|gz\)$' -print0 \
| sort -z \
| while IFS= read -r -d $'\0' f | while IFS= read -r -d $'\0' f
do do
local target local target