From: Jeff Genovy Date: Sat, 22 Dec 2018 18:49:37 +0000 (-0800) Subject: ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current... X-Git-Tag: release-64-rc~184 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83fea413ba84f0c5e63812353de6738842af5bc7;p=icu ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current directory (.) path. --- 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);