1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-22 13:56:19 +00:00
Lakka-LibreELEC/packages/addons/service/oscam/patches/oscam-01-revision.patch
2021-06-20 12:57:48 +02:00

12 lines
402 B
Diff

--- a/config.sh
+++ b/config.sh
@@ -701,7 +701,7 @@ do
break
;;
'-r'|'--oscam-revision')
- revision=`(svnversion -n . 2>/dev/null || printf 0) | sed 's/.*://; s/[^0-9]*$//; s/^$/0/'`
+ echo "$OSCAM_ADDON_VERSION"
if [ "$revision" = "0" ]
then
which git > /dev/null 2>&1 && revision=`git log -10 --pretty=%B | grep git-svn-id | head -n 1 | sed -n -e 's/^.*trunk@\([0-9]*\) .*$/\1/p'`