From 22487a7c521bdf670b3523dffa53e5634e8bd2bd Mon Sep 17 00:00:00 2001 From: arensb Date: Wed, 22 Jan 2003 13:43:06 +0000 Subject: [PATCH] (portability): use 'hostname' instead of 'hostname -f' (FreeBSD and MacOS only support 'hostname [-s]'). --- misc/Install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Install.pm b/misc/Install.pm index 3f2111ba47..3aa7ff2426 100644 --- a/misc/Install.pm +++ b/misc/Install.pm @@ -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; -- 2.39.5