summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-19 18:08:17 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-19 18:08:17 (GMT)
commitb6fd3b7bb1ef208dd2b65a00fe9fe595b414cae5 (patch)
tree0f7ca2a6b7ab3ff361ec21ff5d7b1ebc13b6b328 /Source/cmFileCommand.cxx
parent2a7753a6a54c726aadaf76c8cf728e478a2b6e9e (diff)
downloadCMake-b6fd3b7bb1ef208dd2b65a00fe9fe595b414cae5.zip
CMake-b6fd3b7bb1ef208dd2b65a00fe9fe595b414cae5.tar.gz
CMake-b6fd3b7bb1ef208dd2b65a00fe9fe595b414cae5.tar.bz2
BUG: Install location full-path test for windows needs to account for both lower case and upper case drive letters.
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 7d6c3d0..188af27 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -380,7 +380,7 @@ bool cmFileCommand::HandleInstallCommand(
if ( ch1 != '/' )
{
int relative = 0;
- if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'a' && ch1 <= 'z' ) &&
+ if ( ( ch1 >= 'a' && ch1 <= 'z' || ch1 >= 'A' && ch1 <= 'Z' ) &&
ch2 == ':' )
{
// Assume windows