]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
Fixed dbghelp.dll issue on Linux, copy is now OS-dependant
authornamespace <namespace>
Fri, 11 May 2007 20:21:47 +0000 (20:21 +0000)
committernamespace <namespace>
Fri, 11 May 2007 20:21:47 +0000 (20:21 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@170 8a3a26a2-13c4-0310-b231-cf6edde360e5

install.py

index a9e585c680a948cf65ce502e91dfcf6328842afd..601ef6b49e3d48b36bc7e4e7bc1a2d75438717b9 100644 (file)
@@ -26,6 +26,7 @@ Copies files from various locations:
 """
 
 import os
+import sys
 import shutil
 
 def assertMessage(condition, message):
@@ -114,8 +115,9 @@ copyFileIfExists(libmhash, installRoot)
 
 copySvn("../msvc_redist", installRoot)
 
-dbghelp = os.path.normpath(os.path.join(thisDir, "../msvc_redist/dbghelp.dll"))
-copyFileIfExists(dbghelp, installRoot)
+if sys.platform[:3] == "win" :
+       dbghelp = os.path.normpath(os.path.join(thisDir, "../msvc_redist/dbghelp.dll"))
+       copyFileIfExists(dbghelp, installRoot)
 
 # create version files
 version = open(os.path.join(thisDir, "include/version.default"), "rt").readline().split(".")