m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 256 forks source link

do_strip x265 check fails #2683

Closed L4cache closed 1 week ago

L4cache commented 1 month ago

I just noticed my x265 binary in local64 is much larger than usual, it's back to usual range after I manually strip it. x265 is put in nostrip and then explicitly checked like this

https://github.com/m-ab-s/media-autobuild_suite/blob/9e6d87f1e981d5365c7531d42f4ebe396e474727/build/media-suite_helper.sh#L595

It have worked but now it's not working. (It stopped working quite recently)

$ if [[ "x265.exe" =~ x265(|-numa)\.exe$ ]]; then echo yes; else echo no; fi
no

This works:

$ if [[ "x265.exe" =~ (x265|x265-numa)\.exe$ ]]; then echo yes; else echo no; fi
yes

I wonder what caused this change of behavior, some update in the bash maybe?