mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
scripts/image: simplyfing detection of devel version, thanks to '_gio'
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
eb1783e5cf
commit
6e0c3c356f
@ -35,8 +35,8 @@ export INSTALL=$BUILD/image/system
|
||||
BUILD_DATE=`date +%Y%m%d%H%M%S`
|
||||
|
||||
if [ "$OPENELEC_VERSION" = devel -o "$OPENELEC_VERSION" = debug ]; then
|
||||
GIT_BUILD=`git rev-list HEAD | wc -l`
|
||||
GIT_HASH=`git rev-parse HEAD`
|
||||
GIT_BUILD=$(git rev-list --count HEAD)
|
||||
GIT_HASH=$(git rev-parse HEAD)
|
||||
OPENELEC_VERSION=$OPENELEC_VERSION-$BUILD_DATE-r$GIT_BUILD
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user