[FFmpeg-cvslog] build: remove hardcoded name of version header

Janne Grunau git at videolan.org
Mon Mar 20 19:30:29 EET 2017


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Mon Sep 12 21:52:01 2016 +0200| [15fcf6292ed79be274c824fedb099c2665f4cc15] | committer: Janne Grunau

build: remove hardcoded name of version header

Fixes an oversight in 1316df7aa98c4.

CC: libav-stable at libav.org

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15fcf6292ed79be274c824fedb099c2665f4cc15
---

 version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/version.sh b/version.sh
index 6f72b2c..4689627 100755
--- a/version.sh
+++ b/version.sh
@@ -18,7 +18,7 @@ if [ -z "$2" ]; then
 fi
 
 NEW_REVISION="#define LIBAV_VERSION \"$version\""
-OLD_REVISION=$(cat version.h 2> /dev/null)
+OLD_REVISION=$(cat "$2" 2> /dev/null)
 
 # Update version.h only on revision changes to avoid spurious rebuilds
 if test "$NEW_REVISION" != "$OLD_REVISION"; then



More information about the ffmpeg-cvslog mailing list