Update of /cvsroot/monetdb/sql/src/test/mapi/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8794

Modified Files:
      Tag: SQL_2-20
        php_monetdb.SQL.bat 
Log Message:
Where to start?

- Quote properly.
- This is not a .in file so there is no @...@ processing.
- PHP_EXTENSIONDIR is also not an environment variable.
- Do not use a local variable path, since it is the program search
  path.

We can use the --internal option on the monetdb*config programs to get
the variable settings without the program printing anything.  It will
set phpextensiondir, so we can use it.


Index: php_monetdb.SQL.bat
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/mapi/Tests/php_monetdb.SQL.bat,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- php_monetdb.SQL.bat 30 Oct 2007 10:02:48 -0000      1.1.2.3
+++ php_monetdb.SQL.bat 30 Oct 2007 12:21:50 -0000      1.1.2.4
@@ -1,9 +1,10 @@
 @echo off
 
-set path=%CLIENTS_PREFIX%\lib\MonetDB\Tests
-set dir=%CLIENTS_PREFIX%\%PHP_EXTENSIONDIR%
+call monetdb-clients-config --internal
+
+set testpath=%CLIENTS_PREFIX%\lib\MonetDB\Tests
 
 prompt # $t $g  
 echo on
 
-php -n -d extension_dir=%dir% -f %path%\sqlsample.php
+php -n -d "extension_dir=%phpextensiondir%" -f "%testpath%\sqlsample.php"


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins

Reply via email to