(portability): use 'hostname' instead of 'hostname -f' (FreeBSD and

MacOS only support 'hostname [-s]').
This commit is contained in:
arensb 2003-01-22 13:43:06 +00:00
parent b5fa3e1cd5
commit 22487a7c52

View file

@ -782,7 +782,7 @@ Enter the Intranet Port [%s]: |;
sub getapachevhostinfo {
$::svr_admin = "webmaster\@$::domainname";
$::servername=`hostname -f`;
$::servername=`hostname`;
chomp $::servername;
$::opacport=80;
$::intranetport=8080;