mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
tools: allow kernel version commit description format to be vX.Y.Z as well as X.Y.Z
This commit is contained in:
parent
fe3d5c2e5d
commit
c7f880b802
@ -83,6 +83,7 @@ elif [ -z "${KERNEL}" ]; then
|
|||||||
BASEREV="linux-stable/linux-${BRANCH}.y"
|
BASEREV="linux-stable/linux-${BRANCH}.y"
|
||||||
else
|
else
|
||||||
BASEREV="$(git log --grep "Linux ${KERNEL}" --pretty=oneline | head -1)"
|
BASEREV="$(git log --grep "Linux ${KERNEL}" --pretty=oneline | head -1)"
|
||||||
|
[ -z "${BASEREV}" ] && BASEREV="$(git log --grep "Linux v${KERNEL}" --pretty=oneline | head -1)"
|
||||||
[ -z "${BASEREV}" ] && { echo "Unable to determine base revision for BRANCH=${BRANCH}, KERNEL=${KERNEL}"; exit 1; }
|
[ -z "${BASEREV}" ] && { echo "Unable to determine base revision for BRANCH=${BRANCH}, KERNEL=${KERNEL}"; exit 1; }
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user