Update of /cvsroot/monetdb/pathfinder/runtime
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14616
Modified Files:
Tag: May2009
pathfinder.mx
Log Message:
Use run time prefix if possible for xrpc_docroot.
U pathfinder.mx
Index: pathfinder.mx
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/runtime/pathfinder.mx,v
retrieving revision 1.459.2.1
retrieving revision 1.459.2.2
diff -u -d -r1.459.2.1 -r1.459.2.2
--- pathfinder.mx 18 May 2009 14:16:29 -0000 1.459.2.1
+++ pathfinder.mx 27 May 2009 08:24:59 -0000 1.459.2.2
@@ -6476,9 +6476,10 @@
}
if (GDKgetenv("xrpc_docroot") == NULL) {
+ char *prefix = GDKgetenv("prefix");
char xrpc_docroot[1024];
snprintf(xrpc_docroot, 1024, "%s%cshare%cMonetDB%cxrpc",
- PATHFINDER_PREFIX, DIR_SEP, DIR_SEP, DIR_SEP);
+ prefix ? prefix : PATHFINDER_PREFIX, DIR_SEP, DIR_SEP,
DIR_SEP);
GDKsetenv("xrpc_docroot",xrpc_docroot);
}
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins