config/functions: fix $BUILD_DATE variable again

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-08-14 02:46:38 +02:00
parent 558cb81dca
commit e9fce06075
2 changed files with 1 additions and 4 deletions

View File

@ -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`

View File

@ -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