--- a/build/version_info_linux.sh +++ b/build/version_info_linux.sh @@ -20,7 +20,7 @@ # Script used to generate version info string echo "#define __TBB_VERSION_STRINGS(N) \\" -echo '#N": BUILD_HOST'"\t\t"`hostname -s`" ("`uname -m`")"'" ENDL \' +echo '#N": BUILD_HOST'"\t\t"`hostname`" ("`uname -m`")"'" ENDL \' # find OS name in *-release and issue* files by filtering blank lines and lsb-release content out echo '#N": BUILD_OS'"\t\t"`lsb_release -sd 2>/dev/null | grep -ih '[a-z] ' - /etc/*release /etc/issue 2>/dev/null | head -1 | sed -e 's/["\\\\]//g'`'" ENDL \' echo '#N": BUILD_KERNEL'"\t"`uname -srv`'" ENDL \'