Revision
15192
Author
intralanman
Date
2009-10-22 09:15:07 -0500 (Thu, 22 Oct 2009)

Log Message

make install a little smarter about finding the include_path

Modified Paths

Diff

Modified: freeswitch/trunk/libs/esl/php/Makefile (15191 => 15192)


--- freeswitch/trunk/libs/esl/php/Makefile	2009-10-21 23:09:41 UTC (rev 15191)
+++ freeswitch/trunk/libs/esl/php/Makefile	2009-10-22 14:15:07 UTC (rev 15192)
@@ -26,5 +26,5 @@
 
 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