On Thu, 2007-12-20 at 13:09 +0100, Thorsten Schöning wrote:
> Guten Tag Kristis Makris,
> am Donnerstag, 20. Dezember 2007 um 12:40 schrieben Sie:
> 
> > But how about saving the pid file, etc. All the other absolute paths in
> > the source code, like the glue installer and vdd generator ? Those need
> > to be executed from wrappers. We already had this discussion.
> 
> Maybe I don't understand you but if I change all absolute paths in the
> code to use my environment variable, what's exactly what I did, and
> everything works, there's no need for any wrappers. It's not important
> where the absolute path in the code comes from, hardcoded in the
> sources or dynamically read from an environment variable, the core
> logic is still the same.

I'm not sure what or why we are arguing anymore. You WILL need to write
code such as:

if ( $PRODUCT_ON_WINDOWS) {
   # Read the %Program Files% environment variable and use it
   # Or read the %SCMBUG_HOME% environment variable and use it.
 }

for every occurrence of an absolute path use. And you WILL need to setup
an environment variable or configuration file that tells you where the
absolute path of the installation is. Thus you WILL need to do something
dynamically during installation time. Thus you WILL need an installer
that does it for you.

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to