From 8ebd1a83589510779a786b5c29719a1271b2cee4 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 6 Jun 2008 04:44:15 +0000 Subject: [PATCH] Always remove the zenmap staging directory before rebuilding it in the macosx makefile. --- macosx/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/macosx/Makefile b/macosx/Makefile index 80eaa1e76..5e6bbeee0 100644 --- a/macosx/Makefile +++ b/macosx/Makefile @@ -57,8 +57,9 @@ stage-nmap: export CC CPPFLAGS CFLAGS CXXFLAGS LDFLAGS stage-zenmap: - mkdir -p $(ZENMAP_STAGING_DIR)/Applications cd ../zenmap && install_scripts/macosx/make-bundle.sh + rm -rf $(ZENMAP_STAGING_DIR) + mkdir -p $(ZENMAP_STAGING_DIR)/Applications cp -rf ../zenmap/dist/Zenmap.app $(ZENMAP_STAGING_DIR)/Applications/ $(IMAGE_STAGING_DIR)/README: