Mercurial > octave
changeset 21571:feac06371be1
unpack.m: Use more specific regexp to prevent accidental hits.
* unpack.m (__parse_gzip__): Make the regexp decoding the output of gzip much more specific so that it doesn't trigger on the name "dir with spaces".
author | Rik <rik@octave.org> |
---|---|
date | Thu, 31 Mar 2016 14:12:13 -0700 |
parents | faa23d2161f8 |
children | ae4d7dfea337 |
files | scripts/miscellaneous/unpack.m |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/miscellaneous/unpack.m Thu Mar 31 12:46:59 2016 -0700 +++ b/scripts/miscellaneous/unpack.m Thu Mar 31 14:12:13 2016 -0700 @@ -292,7 +292,7 @@ ## Parse the output from gzip and gunzip returning the files ## commpressed (or decompressed). - files = regexprep (output, '^.+ with (.*)$', '$1'); + files = regexprep (output, '^.+ -- replaced with (.*)$', '$1'); endfunction function files = __parse_bzip2__ (output)