nocargo icon indicating copy to clipboard operation
nocargo copied to clipboard

fix cargo pkg version parsing

Open therishidesai opened this issue 11 months ago • 0 comments

The setCargoCommonBuildEnv function in builder-common.sh doesn't properly use BASH_REMATCH to parse the version number. The 0 index of BASH_REMATCH is the whole string so the CARGO_PKG_VERSION_MAJOR was failing with an InvalidDigit Error. I noticed this when trying to package the ffmpeg-sys-next crate using nocargo.

therishidesai avatar Mar 07 '24 21:03 therishidesai