Accept host=debian.* in the configure scripts (Matt Darfeuille)

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2015-12-12 08:10:34 -08:00
parent af6fc399e5
commit fc426923b1
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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' ) {