mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
profiles/prefix/linux/profile.bashrc: fix libc code parsing, bug #572902
This commit is contained in:
@@ -11,7 +11,9 @@ get_libc_vers_min() {
|
||||
| cut -d. -f2
|
||||
return
|
||||
elif [[ -x /lib/libc.so.6 || -x /lib64/libc.so.6 ]] ; then
|
||||
/lib/libc.so.6 || lib64/libc.so.6 \
|
||||
{
|
||||
/lib/libc.so.6 || /lib64/libc.so.6
|
||||
} 2>/dev/null \
|
||||
| head -n1 \
|
||||
| grep -o 'version 2\.[0-9]\+' \
|
||||
| cut -d. -f2
|
||||
|
||||
Reference in New Issue
Block a user