diff --git a/config/mkdetect/detect_hostident.sh b/config/mkdetect/detect_hostident.sh index fcee22d94ddb..9d2d6bc7e6e7 100755 --- a/config/mkdetect/detect_hostident.sh +++ b/config/mkdetect/detect_hostident.sh @@ -30,7 +30,7 @@ HOSTIDENT_ARCH=`uname -s` # Determine the host name -if [ "$HOSTIDENT" = "Linux" ] +if [ "$HOSTIDENT_ARCH" = "Linux" ] then HOSTIDENT_HOSTNAME=`hostname -s` else