[SCM] libav/experimental: version.sh: write version to stdout if no output file specified
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:12:46 UTC 2013
The following commit has been merged in the experimental branch:
commit 1606446248e0f3d5740d3ef729a4de8ce6d0ca54
Author: Måns Rullgård <mans at mansr.com>
Date: Mon Jul 26 23:43:59 2010 +0000
version.sh: write version to stdout if no output file specified
Originally committed as revision 24527 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/version.sh b/version.sh
index 774e514..f8510ea 100755
--- a/version.sh
+++ b/version.sh
@@ -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)
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list