]>
Commit | Line | Data |
---|---|---|
0ccb4a20 JB |
1 | --- opencascade-7.5.0/tools/TInspectorEXE/TInspectorEXE.cxx.orig 2020-12-29 21:09:40.406098001 +0100 |
2 | +++ opencascade-7.5.0/tools/TInspectorEXE/TInspectorEXE.cxx 2020-12-29 21:09:43.236082670 +0100 | |
3 | @@ -41,6 +41,8 @@ | |
4 | OSD_Environment anEnvironment (theEnvironmentDir); | |
5 | ||
6 | TCollection_AsciiString aFileName = anEnvironment.Value(); | |
7 | + if (aFileName.IsEmpty()) | |
8 | + aFileName = "/usr/share/opencascade/data"; | |
9 | aFileName += TCollection_AsciiString ("/") + theName; | |
10 | ||
11 | return aFileName; |