]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
modcheck should also take DESTDIR into account
authorBrian West <brian@freeswitch.org>
Thu, 27 Feb 2014 20:19:37 +0000 (14:19 -0600)
committerBrian West <brian@freeswitch.org>
Thu, 27 Feb 2014 20:19:37 +0000 (14:19 -0600)
build/modcheck.sh

index 6b645dfef6581d3b9d784b87be08ea88ef9c66b6..b0c84c8b1b4098f0b377e4396aedfea7b24ca24f 100644 (file)
@@ -6,7 +6,7 @@ on='\e[01;00;35m'
 off='\e[0m'
 
 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"