From: namespace Date: Fri, 11 May 2007 20:21:47 +0000 (+0000) Subject: Fixed dbghelp.dll issue on Linux, copy is now OS-dependant X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=be0356d19192e812b46fd744a6acb4abda978c2d;p=xonotic%2Fnetradiant.git Fixed dbghelp.dll issue on Linux, copy is now OS-dependant git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@170 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/install.py b/install.py index a9e585c6..601ef6b4 100644 --- a/install.py +++ b/install.py @@ -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(".")