diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-07 19:23:50 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2010-01-07 19:23:50 +0000 |
commit | 8202d905cd0df4b8fbb29535a1d422f28d204059 (patch) | |
tree | 6a71326f8b8a4b710a8cf59d58ee2a98f68ace78 | |
parent | 715cff9a597477becc34cd22500aa8eea01ecbd8 (diff) | |
download | ffmpeg-8202d905cd0df4b8fbb29535a1d422f28d204059.tar.gz |
Check for VERSION in source dir.
Originally committed as revision 21067 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version.sh b/version.sh index 39bef80af1..5b5f451534 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 |