[cmake-commits] king committed cmInstallCommand.cxx 1.36 1.37
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Dec 17 15:20:08 EST 2007
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv9329
Modified Files:
cmInstallCommand.cxx
Log Message:
BUG: Apply patch from issue #6006.
Index: cmInstallCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmInstallCommand.cxx,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- cmInstallCommand.cxx 16 Oct 2007 14:20:59 -0000 1.36
+++ cmInstallCommand.cxx 17 Dec 2007 20:20:06 -0000 1.37
@@ -925,7 +925,8 @@
}
// Make sure the name is a directory.
- if(!cmSystemTools::FileIsDirectory(dir.c_str()))
+ if(cmSystemTools::FileExists(dir.c_str()) &&
+ !cmSystemTools::FileIsDirectory(dir.c_str()))
{
cmOStringStream e;
e << args[0] << " given non-directory \""
More information about the Cmake-commits
mailing list