- Timestamp:
- 11/30/2011 09:29:55 PM (12 years ago)
- Branches:
- 2.3, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- f5dc6d7
- Parents:
- a7e1348
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/libs/func_check_version.sh
ra7e1348 rec20730 86 86 check_version "3.0" "$BASH_VERSION" "BASH" 87 87 check_version "3.0.1" "`gcc -dumpversion`" "GCC" 88 libcVer="`/lib/libc.so.6 | head -n1`" 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`" 89 94 libcVer="${libcVer##*version }" 90 95 check_version "2.2.5" ${libcVer%%,*} "GLIBC"
Note:
See TracChangeset
for help on using the changeset viewer.