Message ID | 20161124222951.47A0F5DACC@aruru.libav.org |
---|---|
State | New |
Headers | show |
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