bug : os.isfile is not correct : os.path.isfile is correct ^^

This commit is contained in:
Damien Dupuis 2010-03-22 16:38:25 +00:00
parent c42c79a190
commit f56b102584
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class ProjectBuilder:
os.chdir ( toolBuildDir )
if self._noCache:
cmakeCache = os.path.join(toolBuildDir,"CMakeCache.txt")
if os.isfile ( cmakeCache ): os.unlink ( cmakeCache )
if os.path.isfile ( cmakeCache ): os.unlink ( cmakeCache )
command = ["cmake", "-D", "CMAKE_BUILD_TYPE:STRING=%s" % self._buildMode
, "-D", "BUILD_SHARED_LIBS:STRING=%s" % self._enableShared