Bug 457753: Ensure that the directory exists before zipping up crashreporter symbols. r=ted
authorChris AtLee <catlee@mozilla.com>
Wed, 04 Nov 2009 09:59:47 -0500
changeset 34770 c2f1caae085f5db00df7163e6fbf8073c0bafa3b
parent 34769 e857761718d506cf7ea60471daf9b2970dff85d6
child 34771 dcfa9c3a23885c2db53b93686fcf08edab865a9c
push idunknown
push userunknown
push dateunknown
reviewersted
bugs457753
milestone1.9.3a1pre
Bug 457753: Ensure that the directory exists before zipping up crashreporter symbols. r=ted
Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -191,16 +191,17 @@ ifdef MOZ_CRASHREPORTER
 	$(PYTHON) $(topsrcdir)/toolkit/crashreporter/tools/symbolstore.py \
 	  $(MAKE_SYM_STORE_ARGS)                                          \
 	  $(foreach dir,$(SYM_STORE_SOURCE_DIRS),-s $(dir))               \
 	  $(DUMP_SYMS_BIN)                                                \
 	  $(DIST)/crashreporter-symbols                                   \
 	  $(MAKE_SYM_STORE_PATH) >                                        \
 	  $(DIST)/crashreporter-symbols/$(SYMBOL_INDEX_NAME)
 	echo packing symbols
+	$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
 	cd $(DIST)/crashreporter-symbols && \
           zip -r9D "../$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip" .
 endif # MOZ_CRASHREPORTER
 
 uploadsymbols:
 ifdef MOZ_CRASHREPORTER
 	$(SHELL) $(topsrcdir)/toolkit/crashreporter/tools/upload_symbols.sh "$(DIST)/$(PKG_PATH)$(SYMBOL_ARCHIVE_BASENAME).zip"
 endif