[FFmpeg-cvslog] r21067 - trunk/version.sh
ramiro
subversion
Thu Jan 7 20:23:50 CET 2010
Author: ramiro
Date: Thu Jan 7 20:23:50 2010
New Revision: 21067
Log:
Check for VERSION in source dir.
Modified:
trunk/version.sh
Modified: trunk/version.sh
==============================================================================
--- trunk/version.sh Thu Jan 7 20:11:03 2010 (r21066)
+++ trunk/version.sh Thu Jan 7 20:23:50 2010 (r21067)
@@ -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
More information about the ffmpeg-cvslog
mailing list