From f56b102584a9804ce2853b6bad7cead267dadccf Mon Sep 17 00:00:00 2001 From: Damien Dupuis Date: Mon, 22 Mar 2010 16:38:25 +0000 Subject: [PATCH] bug : os.isfile is not correct : os.path.isfile is correct ^^ --- bootstrap/buildCoriolis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap/buildCoriolis.py b/bootstrap/buildCoriolis.py index 27c1ac04..b55de300 100755 --- a/bootstrap/buildCoriolis.py +++ b/bootstrap/buildCoriolis.py @@ -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