fix packaging code
Change-Id: I99c653f04ad051ab284eb14956886cdb9912944d
diff --git a/osx/osxdist.py b/osx/osxdist.py
index 28e01b1..78531ac 100644
--- a/osx/osxdist.py
+++ b/osx/osxdist.py
@@ -109,8 +109,10 @@
if not os.path.exists(self.framework_path):
os.mkdir(self.framework_path)
else:
- shutil.rmtree(self.framework_path)
- os.mkdir(self.framework_path)
+ # shutil.rmtree(self.framework_path)
+ # os.mkdir(self.framework_path)
+ # do not remove /Contents/Framework; we have Sparkle.framework there
+ pass
# If we weren't explicitly told which binary to operate on, pick the
# bundle's default executable from its property list.