Bug 677674 - absolute path is required to build test pilot. r=dtownsend
authorRobert Strong <robert.bugzilla@gmail.com>
Fri, 12 Aug 2011 13:39:47 -0700
changeset 74339 e5b31c27c70108e4cb517189cf60f3cfee63e9a7
parent 74338 f85e000407f361eff390e7fe3bc415839677503b
child 74340 145c98d55ae16d6213fb952e8995da12b62e02a2
push id2
push userbsmedberg@mozilla.com
push dateFri, 19 Aug 2011 14:38:13 +0000
reviewersdtownsend
bugs677674
milestone8.0a1
Bug 677674 - absolute path is required to build test pilot. r=dtownsend
browser/app/profile/extensions/Makefile.in
--- a/browser/app/profile/extensions/Makefile.in
+++ b/browser/app/profile/extensions/Makefile.in
@@ -53,17 +53,17 @@ EXTENSIONS = \
   testpilot@labs.mozilla.com \
   $(NULL)
 
 define _INSTALL_EXTENSION
 $(NSINSTALL) -D $(dir) && \
   $(PYTHON) $(MOZILLA_DIR)/config/Preprocessor.py $(DEFINES) $(ACDEFINES) $(srcdir)/$(dir)/install.rdf.in > $(dir)/install.rdf && \
   cd $(dir) && \
   $(ZIP) -r9XD $(DISTROEXT)/$(dir).xpi install.rdf && \
-  cd $(srcdir)/$(dir) && \
+  cd $(call core_abspath,$(srcdir)/$(dir)) && \
   $(ZIP) -r9XD $(DISTROEXT)/$(dir).xpi * -x install.rdf.in
 
 endef # do not remove the blank line!
 
 libs::
 	$(NSINSTALL) -D $(DISTROEXT)
 	$(foreach dir,$(EXTENSIONS),$(_INSTALL_EXTENSION))
 endif