From 5e0734e14837dce1e76d5d28e88741a1c81e0f75 Mon Sep 17 00:00:00 2001 From: "jag@tty.nl" Date: Thu, 27 Sep 2007 10:07:06 -0700 Subject: [PATCH] Bug 397155: cd fails in toolkit/mozapps/extensions/test/unit/addons/. r/sr=bsmedberg --- toolkit/mozapps/extensions/test/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolkit/mozapps/extensions/test/Makefile.in b/toolkit/mozapps/extensions/test/Makefile.in index ffa645a0a9d..88f3349f68c 100644 --- a/toolkit/mozapps/extensions/test/Makefile.in +++ b/toolkit/mozapps/extensions/test/Makefile.in @@ -58,11 +58,11 @@ libs:: rm -rf $(TESTXPI) mkdir -p $(TESTXPI) if [ -d $(ADDONSRC) ]; then \ + $(EXIT_ON_ERROR) \ for dir in $(ADDONSRC)/*; do \ if [ "$$dir" != "$(ADDONSRC)/CVS" ]; then \ base=`basename $$dir` ; \ - cd $$dir ; \ - zip $(TESTXPI)/$$base.xpi * ; \ + (cd $$dir && zip $(TESTXPI)/$$base.xpi *) \ fi \ done \ fi