summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-06 01:10:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-06 01:10:10 (GMT)
commit19aff4f3bda6fb4af5c4be0afff2e31815822295 (patch)
tree7cae3316ba73e259aedb244139d60e5a9213d15c /Source/kwsys/SystemTools.cxx
parent3ca108141990ff8372f9b4842e9a29a72bb817c2 (diff)
downloadCMake-19aff4f3bda6fb4af5c4be0afff2e31815822295.zip
CMake-19aff4f3bda6fb4af5c4be0afff2e31815822295.tar.gz
CMake-19aff4f3bda6fb4af5c4be0afff2e31815822295.tar.bz2
COMP: hack fix for old sgi until bootstrap is fixed
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index c508e38..1e79ee8 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -2170,7 +2170,7 @@ SystemToolsAppendComponents(
out_components.erase(out_components.end()-1, out_components.end());
}
}
- else if(*i != "." && *i != "")
+ else if(!(*i == ".") && !(*i != ""))
{
out_components.push_back(*i);
}