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 ab35096833
commit b04bbc6ca5
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,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_certsdir="/etc/freeswitch/tls"