diff --git a/scripts/find_version.sh b/scripts/find_version.sh index d3a39d01b1..2b31486c0e 100755 --- a/scripts/find_version.sh +++ b/scripts/find_version.sh @@ -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"