From 83fea413ba84f0c5e63812353de6738842af5bc7 Mon Sep 17 00:00:00 2001 From: Jeff Genovy Date: Sat, 22 Dec 2018 10:49:37 -0800 Subject: [PATCH] ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current directory (.) path. --- icu4c/source/tools/makeconv/makeconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/tools/makeconv/makeconv.cpp b/icu4c/source/tools/makeconv/makeconv.cpp index 12db2860df2..1f34e90f9fa 100644 --- a/icu4c/source/tools/makeconv/makeconv.cpp +++ b/icu4c/source/tools/makeconv/makeconv.cpp @@ -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); -- 2.40.0