]> git.ipfire.org Git - thirdparty/glibc.git/commit
build-many-glibcs: relax version check to allow non-digit characters
authorFangrui Song <maskray@google.com>
Wed, 31 Jan 2024 23:46:23 +0000 (15:46 -0800)
committerFangrui Song <maskray@google.com>
Wed, 31 Jan 2024 23:46:23 +0000 (15:46 -0800)
commit0d70accc06a9cbb9b13004116f5fa8b1f41a7150
tree0dec3ae61ea57a3664396c09f0c71e23c0d1c310
parentda89496337b97e6a2aaf1e81d55cf998f6db1070
build-many-glibcs: relax version check to allow non-digit characters

A version string may contain non-digit characters, commonly found in
built-from-VCS tools, e.g.
```
git version 2.39.GIT
git version 2.43.0.493.gbc7ee2e5e1
```

`int()` will raise a ValueError, leading to a spurious 'missing'.

Reviewed-by: DJ Delorie <dj@redhat.com>
scripts/build-many-glibcs.py