Browse Source

Don't try to determine hostDir if it was provided

rdb 16 years ago
parent
commit
acb7eae95a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      direct/src/p3d/HostInfo.py

+ 3 - 0
direct/src/p3d/HostInfo.py

@@ -386,6 +386,9 @@ class HostInfo:
         This code is duplicated in C++, in
         P3DHost::determine_host_dir(). """
 
+        if self.hostDir:
+            return
+
         if hostDirBasename:
             # If the contents.xml specified a host_dir parameter, use
             # it.