提交 2a8bea90 编写于 作者: B Bruce Momjian

Configure OS cleanup.

上级 08566431
......@@ -641,10 +641,10 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
GUESS=`grep "$host_os" template/.similar 2>/dev/null`
GUESS=`grep "$host" template/.similar 2>/dev/null`
if test ! "$GUESS"
then host_os_no_ver=`echo "$host_os" | sed 's/[0-9.]*$//'`
GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null`
then host_no_ver=`echo "$host" | sed 's/[0-9.]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
fi
if test "$GUESS"
then
......
......@@ -79,10 +79,10 @@ starts 'checking host system type...'
**************************************************************
EOT
TEMPLATE=generic
GUESS=`grep "$host_os" template/.similar 2>/dev/null`
GUESS=`grep "$host" template/.similar 2>/dev/null`
if test ! "$GUESS"
then host_os_no_ver=`echo "$host_os" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_os_no_ver" template/.similar 2>/dev/null`
then host_no_ver=`echo "$host" | sed 's/[[0-9.]]*$//'`
GUESS=`grep "$host_no_ver" template/.similar 2>/dev/null`
fi
if test "$GUESS"
then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册