diff --git a/config/functions b/config/functions index 36f4fd40f5..de6fbec8cf 100644 --- a/config/functions +++ b/config/functions @@ -115,10 +115,6 @@ add_group() { } get_version() { - if [ -z "$BUILD_DATE" ]; then - BUILD_DATE=`date +%Y%m%d%H%M%S` - fi - if [ "$OPENELEC_VERSION" = devel -o "$OPENELEC_VERSION" = debug ]; then GIT_BUILD=`git log --pretty=format:'' | wc -l` GIT_HASH=`git log -n1 --format=%H` diff --git a/config/path b/config/path index 08ed070158..36d9f7fb2e 100644 --- a/config/path +++ b/config/path @@ -114,6 +114,7 @@ if [ -z "$PATH" -o "$PATH" = "${PATH#$ROOT/$TOOLCHAIN/bin:}" ]; then fi VERSION_SUFFIX=$TARGET_ARCH +BUILD_DATE=`date +%Y%m%d%H%M%S` . config/functions