fix for self.root == None

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-07 21:58:04 +00:00
parent 4685815fa7
commit 862b53623b

View File

@@ -408,7 +408,7 @@ class wx_install_headers(distutils.command.install_headers.install_headers):
return
root = self.root
if WXPREFIX.startswith(root):
if root is None or WXPREFIX.startswith(root):
root = ''
for header, location in headers:
install_dir = os.path.normpath(root + WXPREFIX + location)