From 4459cbf3e8e7fdd637c8b8d7ea7e4b768ff0555c Mon Sep 17 00:00:00 2001
From: Amar Takhar <verm@aegisub.org>
Date: Tue, 30 Dec 2008 06:44:04 +0000
Subject: [PATCH] Instead of removing the old bundle, print a notice that it is
 being re-used this makes development much easier.

Originally committed to SVN as r2565.
---
 scripts/osx-bundle.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/scripts/osx-bundle.sh b/scripts/osx-bundle.sh
index 1ae0d2b0a..6dda94e7b 100755
--- a/scripts/osx-bundle.sh
+++ b/scripts/osx-bundle.sh
@@ -4,12 +4,14 @@ PKG_DIR=${1}.app
 SKEL_DIR="packages/osx_bundle"
 
 if ! test -d packages/osx_bundle; then
+  echo
   echo "Make sure you're in the toplevel source directory"
   exit 1;
 fi
 
-echo "Removing ${PKG_DIR}"
-rm -rf ${PKG_DIR}
+if test -d ${PKG_DIR}; then
+  echo "**** USING OLD ${PKG_DIR} ****"
+fi
 
 echo
 echo "---- Directory Structure ----"