modcheck should also take DESTDIR into account

This commit is contained in:
Brian West 2014-02-27 14:19:37 -06:00
parent a6deebffb5
commit d86bb20801
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ on=''
off=''
prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'`
mods=${prefix}/mod;
mods=${DESTDIR}${prefix}/mod;
if [ -z $mods ] ; then
mods="/usr/local/freeswitch/mod"