# HG changeset patch # User Rik # Date 1630876854 25200 # Node ID 3915633fdfd002dc71b9f403724c8f230e291a17 # Parent b0af792466dc56076752e5458e2981009ec97d2c unpack.m: Fix to support old and new versions of gzip (bug #43206). * unpack.m (__parse_gzip__): Change regular expression to support old and new versions of gzip. diff -r b0af792466dc -r 3915633fdfd0 scripts/miscellaneous/unpack.m --- a/scripts/miscellaneous/unpack.m Thu Sep 02 20:48:47 2021 -0700 +++ b/scripts/miscellaneous/unpack.m Sun Sep 05 14:20:54 2021 -0700 @@ -328,7 +328,7 @@ ## Parse the output from gzip and gunzip returning the files ## compressed (or decompressed). - files = regexprep (output, '^.+ -- created (.*)$', '$1'); + files = regexprep (output, '^.+ -- (?:created|replaced with) (.*)$', '$1'); endfunction function files = __parse_bzip2__ (output)