mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
ffmpeg: fix version script to produce correct ffmpeg version
Currently it outputs the LibreELEC git version (eg. 7.95.1-1538-g077ed6e) and not ffmpeg version (eg. 3.3.2-30554d7).
This commit is contained in:
parent
45c82d4cc3
commit
4a241aec59
@ -0,0 +1,14 @@
|
||||
diff --git a/version.sh b/version.sh
|
||||
index edc4dd3..d2b90a9 100755
|
||||
--- a/version.sh
|
||||
+++ b/version.sh
|
||||
@@ -16,6 +16,9 @@ fi
|
||||
test "$revision" || revision=$(cd "$1" &&
|
||||
git log -1 --pretty=format:"git-%cd-%h" --date=short 2> /dev/null)
|
||||
|
||||
+# ignore any current revision, which is just that of the LibreELEC repository
|
||||
+revision=
|
||||
+
|
||||
# Snapshots from gitweb are in a directory called ffmpeg-hhhhhhh or
|
||||
# ffmpeg-HEAD-hhhhhhh.
|
||||
if [ -z "$revision" ]; then
|
Loading…
x
Reference in New Issue
Block a user