From bfce57a7bd6fd2a563c62848b2ae72b424bbd90f Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Wed, 15 Aug 2018 17:30:58 +0000 Subject: [PATCH] scripts/image: fixup installed Kodi version in RELEASE Switch scripts/git_version for get_pkg_version out of config/functions. Resolves being unable to report Kodi's version in RELEASE file. Signed-off-by: Ian Leonard --- scripts/image | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/image b/scripts/image index 2aef736e24..b2ef6524af 100755 --- a/scripts/image +++ b/scripts/image @@ -274,7 +274,7 @@ if [ "$1" = "release" -o "$1" = "mkimage" -o "$1" = "amlpkg" -o "$1" = "noobs" ] echo "$TARGET_VERSION" > $RELEASE_DIR/RELEASE if [ -n "$MEDIACENTER" ]; then - echo "Kodi commit: $(scripts/git_version $MEDIACENTER)" >> $RELEASE_DIR/RELEASE + echo "Kodi commit: $(get_pkg_version $MEDIACENTER)" >> $RELEASE_DIR/RELEASE fi mkdir -p $RELEASE_DIR/licenses