mirror of
https://github.com/libretro/Lakka.git
synced 2024-12-03 13:40:56 +00:00
config/functions: create $BUILD_DATE variable once
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
7570a479e0
commit
49dccd607e
@ -115,8 +115,9 @@ add_group() {
|
||||
}
|
||||
|
||||
get_version() {
|
||||
|
||||
BUILD_DATE=`date +%Y%m%d%H%M%S`
|
||||
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`
|
||||
|
Loading…
Reference in New Issue
Block a user