ICU-7883 Ensure that the path has the proper backslash.

X-SVN-Rev: 28761
This commit is contained in:
Michael Ow 2010-10-04 23:52:24 +00:00
parent d40ee7f0cb
commit 858ae2c1a0
2 changed files with 9 additions and 3 deletions

View file

@ -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.

View file

@ -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)