Changeset b0504e57 in tol


Ignore:
Timestamp:
May 13, 2011, 12:38:05 PM (15 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
bbe047a
Parents:
9870788
Message:

Refs #1197

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@3544 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol/init.cpp

    r9870788 rb0504e57  
    927927     "Ubicación del ejecutable TOL."));
    928928
     929  #ifdef UNIX
     930  // OJO: si tol se ejecuta desde el raiz del fuente entonces el
     931  // stdlib se asume relativo a ese sitio y entonces el include que se
     932  // forma aqui no es correcto.
     933  BText stdlibPath = GetFilePath( initTolPath.Name() );
     934  _tolSdkPath_ = GetStandardAbsolutePath( stdlibPath + "../../../include/" );
     935  #else
     936  BText binPath = GetFilePath( _tolSessionPath_ );
     937  _tolSdkPath_ = GetStandardAbsolutePath( binPath+"../tol_sdk_win/" );
     938  #endif
     939  tolSdkPath_ = new BSystemText("TOLSDKPath", _tolSdkPath_,
     940    I2("The path of the TOL headers.",
     941             "El camino de las cabeceras de TOL."));
     942
    929943  TOLHasBeenInitialized_ = true;
    930 
    931     TOLHasBeenInitialized_ = true;
    932     return(initGrammars_);
     944  return(initGrammars_);
    933945}
    934946
    … …  
    12181230    InitTOLFile(initTolPath.Name());
    12191231  }
    1220   #ifdef UNIX
    1221   // OJO: si tol se ejecuta desde el raiz del fuente entonces el
    1222   // stdlib se asume relativo a ese sitio y entonces el include que se
    1223   // forma aqui no es correcto.
    1224   BText stdlibPath = GetFilePath( initTolPath.Name() );
    1225   _tolSdkPath_ = GetStandardAbsolutePath( stdlibPath + "../../../include/" );
    1226   #else
    1227   BText binPath = GetFilePath( _tolSessionPath_ );
    1228   _tolSdkPath_ = GetStandardAbsolutePath( binPath+"../tol_sdk_win/" );
    1229   #endif
    1230   tolSdkPath_ = new BSystemText("TOLSDKPath", _tolSdkPath_,
    1231     I2("The path of the TOL headers.",
    1232              "El camino de las cabeceras de TOL."));
    12331232  TRACE_CINT_DECIMAL;
    12341233}
Note: See TracChangeset for help on using the changeset viewer.