Fix FHS default modulesdir define

The default value of libdir is (unexpanded) '${exec_prefix}/lib'.  In
the non-FHS path this is fine because it only ends up in a variable
where it will be expanded later.  By using this to define modulesdir
we let it slip into a define where it made no sense.
This commit is contained in:
Travis Cross 2014-03-02 23:52:01 +00:00
parent 80b6ce97d6
commit e3bae77645

View File

@ -60,7 +60,8 @@ default_soundsdir="$prefix/sounds"
default_storagedir="$prefix/storage"
if test "$enable_fhs" = yes; then
prefix="/usr"
prefix="/usr" exec_prefix="$prefix"
libdir="$(eval echo "$libdir")"
sysconfdir="/etc/freeswitch"
localstatedir="/var"
default_dbdir="/var/lib/freeswitch/db"