From ce05da50b0857d3d6d2463029772e40629b7aa6b Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Fri, 16 May 2003 20:13:16 +0000 Subject: [PATCH] Silence error on non-redhat systems. --- tools/wineinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/wineinstall b/tools/wineinstall index 70b178ce640..ba8245dd522 100755 --- a/tools/wineinstall +++ b/tools/wineinstall @@ -153,7 +153,7 @@ echo "WINE Installer v0.74" echo # check for redhat 9 so we can enable --with-nptl until runtime detection is complete -if cat /etc/redhat-release | grep Shrike &>/dev/null; then +if [ -e /etc/redhat-release ] && grep Shrike /etc/redhat-release &>/dev/null; then CONFARGS="$CONFARGS --with-nptl" fi