Changeset 6c0faf90 in OpenModelica
- Timestamp:
- 2020-10-20T17:21:43+02:00 (3 years ago)
- Children:
- 700669a3
- Parents:
- a9da941c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/Compiler/runtime/settingsimpl.c
re7f512c r6c0faf90 79 79 } 80 80 81 #if defined(OPENMODELICA_BOOTSTRAPPING_STAGE_1) 81 #if defined(OPENMODELICA_BOOTSTRAPPING_STAGE_1) || defined(OPENMODELICA_BOOTSTRAPPING_STAGE_2) 82 82 const char* SettingsImpl__getInstallationDirectoryPath(void) { 83 83 const char *path = getenv("OPENMODELICAHOME"); 84 return path ? path : "OPENMODELICA_BOOTSTRAPPING_STAGE_1_NO_OPENMODELICAHOME";84 return path &&*path ? path : "OPENMODELICA_BOOTSTRAPPING_STAGE_1_NO_OPENMODELICAHOME"; 85 85 } 86 86 #else
Note: See TracChangeset
for help on using the changeset viewer.