Commit 15fcf629 authored by Janne Grunau's avatar Janne Grunau

build: remove hardcoded name of version header

Fixes an oversight in 1316df7a.

CC: libav-stable@libav.org
parent 8c201dde
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment