mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-7883 Ensure that the path has the proper backslash.
X-SVN-Rev: 28761
This commit is contained in:
parent
d40ee7f0cb
commit
858ae2c1a0
2 changed files with 9 additions and 3 deletions
|
@ -221,9 +221,9 @@ TOOLBINDIR=$(BINDIR)
|
|||
TOOLLIBDIR=$(LIBDIR)
|
||||
|
||||
# Current full path directory.
|
||||
CURR_FULL_DIR=$(shell pwd)
|
||||
CURR_FULL_DIR=$(shell pwd | sed 's/ /\\ /')
|
||||
# Current full path directory for use in source code in a -D compiler option.
|
||||
CURR_SRCCODE_FULL_DIR=$(shell pwd)
|
||||
CURR_SRCCODE_FULL_DIR=$(shell pwd | sed 's/ /\\ /')
|
||||
|
||||
# Name flexibility for the library naming scheme. Any modifications should
|
||||
# be made in the mh- file for the specific platform.
|
||||
|
|
8
icu4c/source/test/testdata/Makefile.in
vendored
8
icu4c/source/test/testdata/Makefile.in
vendored
|
@ -103,6 +103,12 @@ ICU_DATA_OPT = -i $(BUILDDIR)
|
|||
endif
|
||||
endif
|
||||
|
||||
CURDIR:=$(CURR_FULL_DIR)
|
||||
# current directory should not be blank
|
||||
ifeq ($(CURDIR),)
|
||||
CURDIR=.
|
||||
endif
|
||||
|
||||
PKGDATA = $(TOOLBINDIR)/pkgdata -q -c -s $(CURDIR)/out/build/$(ICUDATA_PLATFORM_NAME)
|
||||
PKGDATA_INVOKE:=$(INVOKE) $(PKGDATA_INVOKE_OPTS)
|
||||
|
||||
|
@ -268,4 +274,4 @@ icu4j-data-install: $(ICU4J_DATA)
|
|||
|
||||
endif
|
||||
|
||||
icu4j-data: $(ICU4J_DATA)
|
||||
icu4j-data: $(ICU4J_DATA)
|
||||
|
|
Loading…
Add table
Reference in a new issue