mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-1627 fix paths for out of source builds
X-SVN-Rev: 7503
This commit is contained in:
parent
e851b5fd86
commit
9f0e696804
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ void NormalizerConformanceTest::TestConformance(void) {
|
|||
// As a fallback, try to guess where the source data was located
|
||||
// at the time ICU was built, and look there.
|
||||
#if defined (U_TOPSRCDIR)
|
||||
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
|
||||
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING "data");
|
||||
#else
|
||||
strcpy(backupPath, u_getDataDirectory());
|
||||
strcat(backupPath, ".." U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
|
||||
|
|
|
@ -480,7 +480,7 @@ void UnicodeTest::TestUnicodeData()
|
|||
// As a fallback, try to guess where the source data was located
|
||||
// at the time ICU was built, and look there.
|
||||
#if defined (U_TOPSRCDIR)
|
||||
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
|
||||
strcpy(backupPath, U_TOPSRCDIR U_FILE_SEP_STRING "data");
|
||||
#else
|
||||
strcpy(backupPath, u_getDataDirectory());
|
||||
strcat(backupPath, ".." U_FILE_SEP_STRING ".." U_FILE_SEP_STRING "data");
|
||||
|
|
Loading…
Add table
Reference in a new issue