From: Brian West Date: Thu, 27 Feb 2014 22:22:37 +0000 (-0600) Subject: Revert the changes I made the issue is in the build system not in this script if... X-Git-Tag: v.15.9~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89cbbb2e1e26d5a4d8866cbee09466d2015cd324;p=thirdparty%2Ffreeswitch.git Revert the changes I made the issue is in the build system not in this script if DESTDIR is used will re-eval the correct approach. --- diff --git a/build/modcheck.sh b/build/modcheck.sh index b0c84c8b1b..78f7c93f85 100644 --- a/build/modcheck.sh +++ b/build/modcheck.sh @@ -5,9 +5,6 @@ mods=$1 on='' off='' -prefix=`cat ../config.log | grep ^prefix=\' | awk -F \' '{print $2}'` -mods=${DESTDIR}${prefix}/mod; - if [ -z $mods ] ; then mods="/usr/local/freeswitch/mod" fi @@ -18,7 +15,7 @@ echo here=`pwd` cd $mods -files=`ls mod_*.dylib mod_*.so 2>/dev/null` +files=`ls *.dylib *.so 2>/dev/null` cd $here for i in $files ; do