/[ascend]/trunk/tcltk/generic/interface/Driver.c
ViewVC logotype

Diff of /trunk/tcltk/generic/interface/Driver.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2015 by jpye, Mon Nov 12 11:07:26 2007 UTC revision 2016 by jpye, Tue Apr 28 09:30:57 2009 UTC
# Line 617  static void AscCheckEnvironVars(Tcl_Inte Line 617  static void AscCheckEnvironVars(Tcl_Inte
617      */      */
618      if(librarydir == NULL){      if(librarydir == NULL){
619          /* CONSOLE_DEBUG("NO " ASC_ENV_LIBRARY " VAR DEFINED"); */          /* CONSOLE_DEBUG("NO " ASC_ENV_LIBRARY " VAR DEFINED"); */
620          libraryfp = ospath_new_expand_env("$ASCENDDIST/models", &GETENV);          libraryfp = ospath_new_expand_env("$ASCENDDIST/lib/models", &GETENV);
621          /* CONSOLE_DEBUG("CREATED LIBRARY VAL"); */          /* CONSOLE_DEBUG("CREATED LIBRARY VAL"); */
622          OSPATH_PUTENV(ASC_ENV_LIBRARY,libraryfp);          OSPATH_PUTENV(ASC_ENV_LIBRARY,libraryfp);
623          librarydir = ospath_str(libraryfp);          librarydir = ospath_str(libraryfp);
# Line 626  static void AscCheckEnvironVars(Tcl_Inte Line 626  static void AscCheckEnvironVars(Tcl_Inte
626    
627      if(solversdir == NULL){      if(solversdir == NULL){
628          /* CONSOLE_DEBUG("NO " ASC_ENV_LIBRARY " VAR DEFINED"); */          /* CONSOLE_DEBUG("NO " ASC_ENV_LIBRARY " VAR DEFINED"); */
629          solversfp = ospath_new_expand_env("$ASCENDDIST/solvers", &GETENV);          solversfp = ospath_new_expand_env("$ASCENDDIST/lib/solvers", &GETENV);
630          /* CONSOLE_DEBUG("CREATED SOLVERS VAL"); */          /* CONSOLE_DEBUG("CREATED SOLVERS VAL"); */
631          OSPATH_PUTENV(ASC_ENV_SOLVERS,solversfp);          OSPATH_PUTENV(ASC_ENV_SOLVERS,solversfp);
632          solversdir = ospath_str(solversfp);          solversdir = ospath_str(solversfp);

Legend:
Removed from v.2015  
changed lines
  Added in v.2016

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22