update_binary-addons: use full rev

This commit is contained in:
MilhouseVH 2018-08-18 09:52:37 +01:00
parent eef941cb6b
commit 2ffe2df9c0

View File

@ -2,6 +2,7 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
if [ -z "$1" ]; then
echo "Usage: $0 <branch-name>"
@ -46,7 +47,7 @@ git_clone() {
resolve_hash() {
if [ -d "$1" ] ; then
cd "$1"
git rev-parse --short $2 2>/dev/null
git rev-parse $2 2>/dev/null
fi
}