chore(find_version): fix outdated path in script (#10073)

This commit is contained in:
André Costa
2026-05-07 10:14:20 +02:00
committed by GitHub
parent 92145208c0
commit 5b85d4d309
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
SCRIPTPATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 || exit ; pwd -P )"
sed -n '/LVGL_VERSION_MAJOR/ {N;s@#define \+LVGL_VERSION_M.... \+@@g;s@\n@.@p}' "$SCRIPTPATH/../lv_version.h"
sed -n '/LVGL_VERSION_MAJOR/ {N;s@#define \+LVGL_VERSION_M.... \+@@g;s@\n@.@p}' "$SCRIPTPATH/../include/lvgl/lv_version.h"