]> granicus.if.org Git - icu/commitdiff
ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current...
authorJeff Genovy <Jeff.Genovy@microsoft.com>
Sat, 22 Dec 2018 18:49:37 +0000 (10:49 -0800)
committerJeff Genovy <29107334+jefgen@users.noreply.github.com>
Thu, 10 Jan 2019 01:02:29 +0000 (17:02 -0800)
icu4c/source/tools/makeconv/makeconv.cpp

index 12db2860df2175f8fd7f9e183caad6f72a2f7a54..1f34e90f9fa885f1848f2be2b4bbb76697c0dc77 100644 (file)
@@ -292,7 +292,7 @@ int main(int argc, char* argv[])
         const char *arg = getLongPathname(*argv);
 
         const char* sourcedir = options[OPT_SOURCEDIR].value;
-        if (sourcedir != NULL && *sourcedir != 0) {
+        if (sourcedir != NULL && *sourcedir != 0 && *sourcedir != '.') {
             pathBuf.clear();
             pathBuf.appendPathPart(sourcedir, localError);
             pathBuf.appendPathPart(arg, localError);