From 5f6318324786dc4154e23fe88a42abe4898cbe45 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Fri, 9 Aug 2013 18:35:32 -0700 Subject: [PATCH] More fixes to the configure script Signed-off-by: Tom Eastep --- Shorewall-core/configure | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Shorewall-core/configure b/Shorewall-core/configure index eeddc7c1e..cbfc1f90e 100755 --- a/Shorewall-core/configure +++ b/Shorewall-core/configure @@ -116,14 +116,14 @@ if [ -z "$vendor" ]; then fi fi -if [ -z "vendor" ]; then +if [ -z "$vendor" ]; then case `uname` in Darwin) params[HOST]=apple rcfile=shorewallrc.apple ;; - cygwin*) + cygwin*|CYGWIN*) params[HOST]=cygwin rcfile=shorewallrc.cygwin ;; @@ -154,6 +154,7 @@ if [ -z "vendor" ]; then elif [ $vendor = linux ]; then rcfile=shorewallrc.default; else + echo "Vendor is '$vendor'" rcfile=shorewallrc.$vendor if [ ! -f $rcfile ]; then echo "ERROR: $vendor is not a recognized host type" >&2