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
======================================================================
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers