diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-09-26 21:37:50 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-09-26 21:37:50 +0000 |
commit | ac63af34b56de848d78a445bfb9fb5908c9ac719 (patch) | |
tree | dd3969bd8baa5e1ca03c0984828d7505b42d0edc /version.sh | |
parent | b3de4544e045cf6ddba3fa76d6e04f4cb3fb2503 (diff) | |
download | ffmpeg-ac63af34b56de848d78a445bfb9fb5908c9ac719.tar.gz |
Add support for passing a version string to configure that is appended to
FFmpeg's version string output. This can be used by distributions to mark
their packages as being modified versions without hacking the sources.
Originally committed as revision 15433 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/version.sh b/version.sh index 121a8d3300..5f97f6d5ff 100755 --- a/version.sh +++ b/version.sh @@ -15,6 +15,8 @@ fi # no version number found test $revision || revision=UNKNOWN +test "$3" && revision=$revision-$3 + NEW_REVISION="#define FFMPEG_VERSION \"$revision\"" OLD_REVISION=`cat version.h 2> /dev/null` |