mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/functions: fix $BUILD_DATE variable again
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
558cb81dca
commit
e9fce06075
@ -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`
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user