[vlc-commits] [Git][videolan/vlc][master] Fix extra tool error message
Steve Lhomme (@robUx4)
gitlab at videolan.org
Fri Jul 21 06:43:11 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
8449690b by Romain Vimont at 2023-07-21T05:58:28+00:00
Fix extra tool error message
The error message is printed (among others) when the major versions
differ, not only when the current version is older than the expected
one, so "too old" may be incorrect.
Before:
> meson too old
After:
> meson incompatible version (expected 0.51.1, got 1.1.1)
- - - - -
1 changed file:
- extras/tools/bootstrap
Changes:
=====================================
extras/tools/bootstrap
=====================================
@@ -32,7 +32,7 @@ check_version() {
[ "$needmajor" -eq "$gotmajor" -a "$needminor" -gt "$gotminor" ] ||
[ "$needmajor" -eq "$gotmajor" -a "$needminor" -eq "$gotminor" -a "$needmicro" -gt "$gotmicro" ];
then
- echo "$1 too old"
+ echo "$1 incompatible version (expected $3, got $2)"
NEEDED="$NEEDED $1"
else
FOUND="$FOUND $1"
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8449690b0dbad24aff2f83b0213de810332e3883
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8449690b0dbad24aff2f83b0213de810332e3883
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list