diff --git a/build/modcheck.sh b/build/modcheck.sh index 6b645dfef6..b0c84c8b1b 100644 --- a/build/modcheck.sh +++ b/build/modcheck.sh @@ -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"