[Groonga-commit] droonga/droonga-http-server at e601371 [master] Detect FQDN correctly

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Sep 16 18:18:28 JST 2014


YUKI Hiroshi	2014-09-16 18:18:28 +0900 (Tue, 16 Sep 2014)

  New Revision: e601371de67062a4488a4367dc52c32d5d36598c
  https://github.com/droonga/droonga-http-server/commit/e601371de67062a4488a4367dc52c32d5d36598c

  Message:
    Detect FQDN correctly

  Modified files:
    install.sh

  Modified: install.sh (+1 -1)
===================================================================
--- install.sh    2014-09-16 18:09:26 +0900 (a7a9c76)
+++ install.sh    2014-09-16 18:18:28 +0900 (86d01d0)
@@ -113,7 +113,7 @@ setup_configuration_directory() {
 guess_global_hostname() {
   if hostname -d > /dev/null 2>&1; then
     domain=$(hostname -d)
-    hostname=$(hostname)
+    hostname=$(hostname -s)
     if [ "$domain" != "" ]; then
       echo "$hostname.$domain"
       return 0
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index