mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 13:23:08 +00:00
media/ffmpeg: only show VERSIONS notice on change
Check if the VERSIONS file actually changed before printing the related message. Also print the path to the VERSIONS file to give some more context. BUG=None TEST=media/ffmpeg/bindgen.sh Change-Id: I6e7cd2ace37ca99ed744a307675272a2e3c205f6 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3893752 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
parent
03e1b667e3
commit
150384ad2d
1 changed files with 5 additions and 3 deletions
|
@ -28,6 +28,8 @@ echo "avcodec: `pkg-config --modversion libavcodec`" >>$VERSIONS
|
|||
echo "avutil: `pkg-config --modversion libavutil`" >>$VERSIONS
|
||||
echo "swscale: `pkg-config --modversion libswscale`" >>$VERSIONS
|
||||
|
||||
echo "Libraries versions updated in the VERSIONS file."
|
||||
echo "Please check the minimum required versions in build.rs and make sure that"
|
||||
echo "the major number is the same"
|
||||
if ! git --no-pager diff --exit-code $VERSIONS; then
|
||||
echo "Libraries versions updated in the $VERSIONS file."
|
||||
echo "Please check the minimum required versions in build.rs and make sure that"
|
||||
echo "the major number is the same"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue