From: Brian West Date: Thu, 27 Feb 2014 20:19:37 +0000 (-0600) Subject: modcheck should also take DESTDIR into account X-Git-Tag: v.15.9~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d86bb20801fc5e57810abd53339fc1ae059446b1;p=thirdparty%2Ffreeswitch.git modcheck should also take DESTDIR into account --- 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"