summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Util.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-07 22:56:22 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-07 22:56:22 +0000
commitf35881fbbdabc08f0b9e194600cf882a21d7cc3d (patch)
treee8b56ea22f57450507f123a42d267d7db97b642b /cpp/src/IcePatch/Util.cpp
parentremove orphaned files (diff)
downloadice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.tar.bz2
ice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.tar.xz
ice-f35881fbbdabc08f0b9e194600cf882a21d7cc3d.zip
remove orphaned files
Diffstat (limited to 'cpp/src/IcePatch/Util.cpp')
-rw-r--r--cpp/src/IcePatch/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch/Util.cpp b/cpp/src/IcePatch/Util.cpp
index 0b59e8be821..76b9c004fa0 100644
--- a/cpp/src/IcePatch/Util.cpp
+++ b/cpp/src/IcePatch/Util.cpp
@@ -721,7 +721,7 @@ IcePatch::removeOrphanedRecursive(const string& path)
for (p = paths.begin(); p != paths.end(); ++p)
{
string suffix = getSuffix(*p);
- if (suffix == ".md5" || suffix == ".bz2")
+ if (suffix == "md5" || suffix == "bz2")
{
pair<StringSeq::const_iterator, StringSeq::const_iterator> r =
equal_range(paths.begin(), paths.end(), removeSuffix(*p));