From e0acac8cc6c48e4e4e54e3e0bae0cf05eafdbce9 Mon Sep 17 00:00:00 2001 From: "cmp%mozilla.org" Date: Thu, 14 Apr 2005 04:03:24 +0000 Subject: [PATCH] Change into the correct packaging directory on MacOS X before removing files. Bug 290075, attachment 180667. sr=mscott, a=dbaron git-svn-id: svn://10.0.0.236/trunk@172108 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpinstall/packager/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mozilla/xpinstall/packager/Makefile.in b/mozilla/xpinstall/packager/Makefile.in index a0d10f2aa3b..652640045c3 100644 --- a/mozilla/xpinstall/packager/Makefile.in +++ b/mozilla/xpinstall/packager/Makefile.in @@ -266,7 +266,11 @@ ifeq (,$(filter mozilla firefox,$(MOZ_PKG_APPNAME))) endif ifdef NO_PKG_FILES @echo "Removing unpackaged files..." +ifeq ($(MOZ_PKG_FORMAT),DMG) + cd $(DIST)/$(MOZ_PKG_APPNAME)/$(_APPNAME)/Contents/MacOS; rm -rf $(NO_PKG_FILES) +else cd $(DIST)/$(MOZ_PKG_APPNAME); rm -rf $(NO_PKG_FILES) +endif endif @echo "Compressing..." cd $(DIST); $(MAKE_PACKAGE)