Installation in /var/lib/glusterd

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

 



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
manu@xxxxxxxxxx



[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux