[SCM] libav/experimental: Check for VERSION in source dir.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:56:59 UTC 2013


The following commit has been merged in the experimental branch:
commit 8202d905cd0df4b8fbb29535a1d422f28d204059
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Thu Jan 7 19:23:50 2010 +0000

    Check for VERSION in source dir.
    
    Originally committed as revision 21067 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/version.sh b/version.sh
index 39bef80..5b5f451 100755
--- a/version.sh
+++ b/version.sh
@@ -26,7 +26,7 @@ fi
 test $revision || revision=UNKNOWN
 
 # releases extract the version number from the VERSION file
-version=$(cat VERSION 2> /dev/null)
+version=$(cd "$1" && cat VERSION 2> /dev/null)
 test $version || version=$revision
 
 test -n "$3" && version=$version-$3

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list