(portability): use 'hostname' instead of 'hostname -f' (FreeBSD and
MacOS only support 'hostname [-s]').
This commit is contained in:
parent
b5fa3e1cd5
commit
22487a7c52
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue