modcheck should also take DESTDIR into account
This commit is contained in:
parent
a6deebffb5
commit
d86bb20801
|
@ -6,7 +6,7 @@ on='[01;00;35m'
|
||||||
off='[0m'
|
off='[0m'
|
||||||
|
|
||||||
prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'`
|
prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'`
|
||||||
mods=${prefix}/mod;
|
mods=${DESTDIR}${prefix}/mod;
|
||||||
|
|
||||||
if [ -z $mods ] ; then
|
if [ -z $mods ] ; then
|
||||||
mods="/usr/local/freeswitch/mod"
|
mods="/usr/local/freeswitch/mod"
|
||||||
|
|
Loading…
Reference in New Issue