hooks/uncompress-manpages: prevent hang
In case when file to be uncompressed existed, decompressors asked whether to overwrite it. As output is muted, building hung silently waiting for input.
This commit is contained in:
@@ -16,6 +16,6 @@ hook() {
|
||||
rm $f
|
||||
done
|
||||
|
||||
find $mandir -type f -name '*.gz' -exec gunzip -v {} + &>/dev/null
|
||||
find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} + &>/dev/null
|
||||
find $mandir -type f -name '*.gz' -exec gunzip -v -f {} + &>/dev/null
|
||||
find $mandir -type f -name '*.bz2' -exec bunzip2 -v -f {} + &>/dev/null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user