From c6e6d0644b2570016aedf52424c9553c7dd9581d Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Thu, 25 Oct 2018 20:17:55 +0000 Subject: [PATCH] config/version: move to distro The information within config/version contains information that is about LibreELEC the distribution, so place it there. Config/version should contain version information about the LibreELEC the buildsystem. Signed-off-by: Ian Leonard --- config/options | 9 ++------- {config => distributions/LibreELEC}/version | 0 2 files changed, 2 insertions(+), 7 deletions(-) rename {config => distributions/LibreELEC}/version (100%) diff --git a/config/options b/config/options index 79580973b1..ea0a375dd5 100644 --- a/config/options +++ b/config/options @@ -25,13 +25,8 @@ TARGET_ARCH="${ARCH}" # include helper functions . config/functions -# include versioning -. config/version - -# read DISTRO versioning if available -if [ -f "${DISTRO_DIR}/${DISTRO}/version" ]; then - . "${DISTRO_DIR}/${DISTRO}/version" -fi +# read DISTRO version information +. "${DISTRO_DIR}/${DISTRO}/version" || die "\nERROR: No distro version present\n" # read DISTRO options if available if [ -f "${DISTRO_DIR}/${DISTRO}/options" ]; then diff --git a/config/version b/distributions/LibreELEC/version similarity index 100% rename from config/version rename to distributions/LibreELEC/version