Followup to ensure we always use an absolute path. rs=ted
authorKyle Huey <khuey@kylehuey.com>
Thu, 07 Apr 2011 18:13:03 -0700
changeset 67603 e024ed77fea15ad08e7b1bd9798a1a7b099737b9
parent 67602 bd338849a167fd14bcf47796fcc77a81ceb357dc
child 67604 b7c8a433b9e57a32281288766ea6f220c3774f4d
push idunknown
push userunknown
push dateunknown
reviewersted
milestone2.2a1pre
Followup to ensure we always use an absolute path. rs=ted
extensions/spellcheck/hunspell/Makefile.in
--- a/extensions/spellcheck/hunspell/Makefile.in
+++ b/extensions/spellcheck/hunspell/Makefile.in
@@ -41,16 +41,18 @@ relativesrcdir = extensions/spellcheck/h
 
 include $(DEPTH)/config/autoconf.mk
 
 MODULE		= hunspell
 DIRS = src
 
 XPCSHELL_TESTS = tests/unit
 
+ABS_topsrcdir = $(call core_abspath,$(topsrcdir))
+
 libs::
 	$(NSINSTALL) -D $(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data
-	cd $(srcdir)/tests; $(PYTHON) $(topsrcdir)/config/nsinstall.py \
+	cd $(srcdir)/tests; $(PYTHON) $(ABS_topsrcdir)/config/nsinstall.py \
 	  ./ \
 	  $(call core_abspath,$(DEPTH)/_tests/xpcshell/$(relativesrcdir)/tests/unit/data/)
 
 include $(topsrcdir)/config/rules.mk