]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
make install a little smarter about finding the include_path
authorRaymond Chandler <intralanman@freeswitch.org>
Thu, 22 Oct 2009 14:15:07 +0000 (14:15 +0000)
committerRaymond Chandler <intralanman@freeswitch.org>
Thu, 22 Oct 2009 14:15:07 +0000 (14:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15192 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/esl/php/Makefile

index fd760a454ca67faf4c4d92586325184957449932..3095ea2d29b3ec6d7688a63495e5f9d9c412b919 100644 (file)
@@ -26,5 +26,5 @@ reswig:       swigclean esl_wrap.cpp
 
 install: ESL.so
        cp ESL.so $(shell php-config --extension-dir)
-       cp ESL.php $(shell php -r 'phpinfo();' | grep include_path | cut -d: -f2)
+       cp ESL.php $(shell php -r 'echo ini_get("include_path");' | cut -d: -f2)
        echo 'extension=ESL.so' > $(shell php-config --configure-options | tr " " "\n" | grep -- --with-config-file-scan-dir | cut -f2 -d=)/esl.ini