[CMake] Signup for a new bug-tracker account broken? (was: Re:
INSTALL DIRECTORY broken)
Thomas Sondergaard
ts_news1 at sondergaard.cc
Mon Nov 5 05:11:21 EST 2007
I want to report this as a bug, but signing up for a bug-tracker account
doesn't work for me. I go through the registration and get to the point
where it states that it has sent me an email with login details, but it
hasn't. I've checked my spam filters and can't find the message there
either.
Anyone else having problem registering?
Regards,
Thomas
Thomas Sondergaard wrote:
> I took a look at the cmake source and I think perhaps this is a bug. The
> FILES mode checks that the specified files are not directories, and I
> think maybe the DIRECTORY mode simply wants to check that the specified
> paths are not regular files?
>
> --- t/cmake-2.4.7/Source/cmInstallCommand.cxx 2007-07-16
> 23:12:31.000000000 +0200
> +++ cmake-2.4.7/Source/cmInstallCommand.cxx 2007-11-02
> 15:44:53.000000000 +0100
> @@ -958,7 +958,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 \""
>
>
> Regards,
>
> Thomas
More information about the CMake
mailing list