gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Installation in /var/lib/glusterd


From: Emmanuel Dreyfus
Subject: [Gluster-devel] Installation in /var/lib/glusterd
Date: Fri, 31 Aug 2012 09:56:41 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hi

I am testing 3.3.1qa2 and migration from 3.2.x. configure contains this:

if test ! -d /var/lib/glusterd && test -d /etc/glusterd ; then
  GF_INSTALL_VAR_LIB_GLUSTERD_TRUE=
  GF_INSTALL_VAR_LIB_GLUSTERD_FALSE='#'
else
  GF_INSTALL_VAR_LIB_GLUSTERD_TRUE='#'
  GF_INSTALL_VAR_LIB_GLUSTERD_FALSE=
fi

As I understand, the intent is to install in /var/lib/glusterd if
/etc/glusterd does not exist. It seems to me that the test is reversed,
and it fails to include ${prefix}. What about this?

if test -d /etc/glusterd -o -d ${prefix}/etc/glusterd ; then
  GF_INSTALL_VAR_LIB_GLUSTERD_TRUE='#'
  GF_INSTALL_VAR_LIB_GLUSTERD_FALSE=
else
  GF_INSTALL_VAR_LIB_GLUSTERD_TRUE=
  GF_INSTALL_VAR_LIB_GLUSTERD_FALSE='#'
fi



-- 
Emmanuel Dreyfus
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]