From c6065c03701cbb56588f8773382a823038d8ed24 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sat, 12 Dec 2015 08:10:34 -0800 Subject: [PATCH] Accept host=debian.* in the configure scripts (Matt Darfeuille) Signed-off-by: Tom Eastep --- Shorewall-core/configure | 3 +++ Shorewall-core/configure.pl | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Shorewall-core/configure b/Shorewall-core/configure index a710682b3..33e9138cd 100755 --- a/Shorewall-core/configure +++ b/Shorewall-core/configure @@ -169,6 +169,9 @@ else elif [ $vendor = default ]; then params[HOST]=linux vendor=linux + elif [[ $vendor == debian.* ]]; then + params[HOST]=debian + vendor=debian fi fi diff --git a/Shorewall-core/configure.pl b/Shorewall-core/configure.pl index 9bfd78f56..b2043c696 100755 --- a/Shorewall-core/configure.pl +++ b/Shorewall-core/configure.pl @@ -102,6 +102,8 @@ if ( defined $vendor ) { die qq("ERROR: $vendor" is not a recognized host type); } elsif ( $vendor eq 'default' ) { $params{HOST} = $vendor = 'linux'; + } elsif ( $vendor =~ /^debian\./ ) { + $params{HOST} = $vendor = 'debian'; } } else { if ( -f '/etc/debian_version' ) {