mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 06:25:30 +00:00
ICU-20376 makeconv prepend relative sourcedir to args; only ignore if nothing but a single dot
This commit is contained in:
parent
01ecea2df0
commit
f5d2c560a0
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 && *sourcedir != '.') {
|
||||
if (sourcedir != NULL && *sourcedir != 0 && uprv_strcmp(sourcedir, ".") != 0) {
|
||||
pathBuf.clear();
|
||||
pathBuf.appendPathPart(sourcedir, localError);
|
||||
pathBuf.appendPathPart(arg, localError);
|
||||
|
|
Loading…
Add table
Reference in a new issue