Update of /cvsroot/monetdb/sql/src/test/mapi/Tests
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16104/src/test/mapi/Tests
Modified Files:
python_dbapi_embedded.sh
Log Message:
propagated changes of Sunday Aug 10 2008
from the SQL_2-24 branch to the development trunk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2008/08/10 - stmane: src/test/mapi/Tests/python_dbapi_embedded.sh,1.10.4.1
avoid `sed -i` as `-i` is not standard/portable
(at least the default sed on Solaris does not know it)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index: python_dbapi_embedded.sh
===================================================================
RCS file: /cvsroot/monetdb/sql/src/test/mapi/Tests/python_dbapi_embedded.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- python_dbapi_embedded.sh 26 Nov 2007 12:03:38 -0000 1.10
+++ python_dbapi_embedded.sh 10 Aug 2008 09:01:09 -0000 1.11
@@ -19,7 +19,8 @@
PYTHONPATH="$TSTBLDBASE/src/backends/python/monet$v/.libs:$PYTHONPATH"
export PYTHONPATH
# make sure we find module sql[_server]
-sed -i.BAK -e "s|^monet_mod_path=.*$|monet_mod_path=$MONETDB_MOD_PATH|" $c
+mv $c $c.BAK
+sed -e "s|^monet_mod_path=.*$|monet_mod_path=$MONETDB_MOD_PATH|" $c.BAK > $c
Mlog -x "sqlsample.py $GDK_DBFARM $TSTDB $v"
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Monetdb-sql-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-sql-checkins