Bug 1122746 - Ignore *.pyc in zip instead of removing them. r=ted, a=test-only

This commit is contained in:
Mike Shal
2015-04-23 15:55:44 -04:00
parent c074ebc72e
commit a17cb4024a

View File

@@ -419,11 +419,10 @@ package-tests:
ifndef UNIVERSAL_BINARY
$(NSINSTALL) -D $(DIST)/$(PKG_PATH)
endif
find -L $(PKG_STAGE) -name '*.pyc' -exec rm {} \;
$(MKDIR) -p $(abspath $(DIST))/$(PKG_PATH) && \
cd $(PKG_STAGE) && \
zip -rq9D '$(abspath $(DIST))/$(PKG_PATH)$(TEST_PACKAGE)' \
* -x \*/.mkdir.done
* -x \*/.mkdir.done \*.pyc
ifeq ($(MOZ_WIDGET_TOOLKIT),android)
package-tests: stage-android