+#
+
+# -----------------------------------------------------------------------------
+
+if __name__ == "__main__":
+
+ ### TEMP ###
+ homePath = os.path.realpath(os.path.expanduser('~'))
+ #defaultOmniorbUserPath = os.path.join(homePath, ".salomeConfig/USERS")
+ appli = os.getenv("APPLI")
+ defaultOmniorbUserPath = homePath
+ if appli:
+ defaultOmniorbUserPath = os.path.join( homePath, appli, "USERS" )
+ os.environ["OMNIORB_USER_PATH"] = defaultOmniorbUserPath
+ ############
+
+ runSalome()
+#