summaryrefslogtreecommitdiff
path: root/src/ipa/libipa/camera_sensor_helper.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2023-03-09 19:21:15 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2023-03-21 23:30:58 +0000
commitd34cefad17918a37e48c2a9fadd63480e6661d6e (patch)
treecaf2070d593ba3bc671fcadf571bc65f6eefc4a4 /src/ipa/libipa/camera_sensor_helper.h
parent2ccca099d3cbdfa32f0a8bfd2168873b7b803159 (diff)
meson: Fix git version parsing
When extracting the build metadata from the git version, we use the string strip() method to remove the version prefix. This is incorrect, as the strip() method takes a set of characters to be removed, not a literal string. Fix it by splitting the git version string on the '+' character and keeping the suffix. Fixes: 02518e598e8f ("meson: Rewrite .replace usage") Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Michael Riesch <michael.riesch@wolfvision.net> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/libipa/camera_sensor_helper.h')
0 files changed, 0 insertions, 0 deletions