[cmake-developers] [CMake 0013826]: Problem with creating installation directories conatining a colon (:)
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jan 1 14:28:18 EST 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13826
======================================================================
Reported By: ofir
Assigned To:
======================================================================
Project: CMake
Issue ID: 13826
Category: CMake
Reproducibility: always
Severity: minor
Priority: low
Status: new
======================================================================
Date Submitted: 2013-01-01 14:28 EST
Last Modified: 2013-01-01 14:28 EST
======================================================================
Summary: Problem with creating installation directories
conatining a colon (:)
Description:
When running 'make install' with DESTDIR to a directory containing a colon,
cmake won't create parent directories. If parent directories already exist
everything works fine.
Steps to Reproduce:
With any cmake project that has some install() command:
make install DESTDIR=aa/b:b
<error>
mkdir aa
make install DESTDIR=aa/b:b
<works>
Additional Information:
The MakeDirectory function in Source/kwsys/SystemTools.cxx parses the directory
tree after the first colon it finds, probably to eliminate drive name in Windows
environment, although no #ifdef is in sight.
Also, it seems that this code just below
if(dir[dir.size()-1] == '/')
{
topdir = dir.substr(0, dir.size());
}
else
{
topdir = dir;
}
does nothing.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-01-01 14:28 ofir New Issue
======================================================================
More information about the cmake-developers
mailing list