Changeset f5dc6d7
- Timestamp:
- 12/28/2011 05:41:35 PM (12 years ago)
- Branches:
- 2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 1ef456b, 7072e1f
- Parents:
- ec20730
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_check_version.sh
rec20730 rf5dc6d7 86 86 check_version "3.0" "$BASH_VERSION" "BASH" 87 87 check_version "3.0.1" "`gcc -dumpversion`" "GCC" 88 if [ -f /lib/libc.so.6 ]; then 89 libcLoc=/lib; 90 elif [ -f /lib64/libc.so.6 ]; then 91 libcLoc=/lib64; 92 fi; 93 libcVer="`/${libcLoc}/libc.so.6 | head -n1`" 88 libcLib="`find /lib /lib64 -name libc.so.6 -print`" 89 libcVer="`/${libcLib} | head -n1`" 94 90 libcVer="${libcVer##*version }" 95 91 check_version "2.2.5" ${libcVer%%,*} "GLIBC"
Note:
See TracChangeset
for help on using the changeset viewer.