mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-20315 Fix MSYS2 build break: Don't prepend the source dir if it is just a current directory (.) path.
This commit is contained in:
parent
4840a9cedd
commit
83fea413ba
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue