From e9fce06075ba37dfd15662d582faa21d48905cc7 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 14 Aug 2011 02:46:38 +0200 Subject: [PATCH] config/functions: fix $BUILD_DATE variable again Signed-off-by: Stephan Raue --- config/functions | 4 ---- config/path | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) 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