[FFmpeg-cvslog] r24527 - trunk/version.sh
mru
subversion
Tue Jul 27 01:44:00 CEST 2010
Author: mru
Date: Tue Jul 27 01:43:59 2010
New Revision: 24527
Log:
version.sh: write version to stdout if no output file specified
Modified:
trunk/version.sh
Modified: trunk/version.sh
==============================================================================
--- trunk/version.sh Tue Jul 27 01:43:56 2010 (r24526)
+++ trunk/version.sh Tue Jul 27 01:43:59 2010 (r24527)
@@ -31,6 +31,11 @@ test $version || version=$revision
test -n "$3" && version=$version-$3
+if [ -z "$2" ]; then
+ echo "$version"
+ exit
+fi
+
NEW_REVISION="#define FFMPEG_VERSION \"$version\""
OLD_REVISION=$(cat version.h 2> /dev/null)
More information about the ffmpeg-cvslog
mailing list