@@ -201,9 +201,9 @@ private static bool IsDirectory(string path)
201
201
defaultSupportPath = "/opt/senzing/er/data" ;
202
202
break ;
203
203
case PlatformID . Unix :
204
- defaultInstallPath = "/opt/senzing/er" ;
205
- defaultConfigPath = "/etc/opt/senzing" ;
206
- defaultSupportPath = "/opt/senzing/data" ;
204
+ defaultInstallPath = "/opt/senzing/er" ;
205
+ defaultConfigPath = "/etc/opt/senzing" ;
206
+ defaultSupportPath = "/opt/senzing/data" ;
207
207
break ;
208
208
default :
209
209
throw new NotSupportedException (
@@ -291,18 +291,24 @@ private static bool IsDirectory(string path)
291
291
}
292
292
293
293
// check if an explicit support path has been specified
294
- if ( supportPath == null || supportPath . Trim ( ) . Length == 0 ) {
294
+ if ( supportPath == null || supportPath . Trim ( ) . Length == 0 )
295
+ {
295
296
// check if using a dev build
296
- if ( "dist" . Equals ( installDir . Name , OrdinalIgnoreCase ) ) {
297
+ if ( "dist" . Equals ( installDir . Name , OrdinalIgnoreCase ) )
298
+ {
297
299
// use the "data" sub-directory of the dev build
298
300
supportDir = new DirectoryInfo (
299
301
Path . Combine ( installDir . FullName , "data" ) ) ;
300
- } else {
302
+ }
303
+ else
304
+ {
301
305
// no explicit path, try the default support path
302
306
supportDir = new DirectoryInfo ( defaultSupportPath ) ;
303
307
}
304
308
305
- } else {
309
+ }
310
+ else
311
+ {
306
312
// use the specified explicit path
307
313
supportDir = new DirectoryInfo ( supportPath ) ;
308
314
}
0 commit comments