/pidgin/main: d0ec164c8f20: Make sure to generate a fresh zip fi...

Daniel Atallah datallah at pidgin.im
Tue Sep 18 13:54:52 EDT 2012


Changeset: d0ec164c8f205a9b932b93b0004701ac56e02afd
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2012-09-18 13:54 -0400
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/d0ec164c8f20

Description:

Make sure to generate a fresh zip file for the Gtk bundle.

 * This shouldn't ever be problematic in real situations, but when testing it's
   helpful to make sure nothing old is there.

diffstat:

 pidgin/win32/nsis/generate_gtk_zip.sh |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff --git a/pidgin/win32/nsis/generate_gtk_zip.sh b/pidgin/win32/nsis/generate_gtk_zip.sh
--- a/pidgin/win32/nsis/generate_gtk_zip.sh
+++ b/pidgin/win32/nsis/generate_gtk_zip.sh
@@ -85,7 +85,9 @@ do
 done
 
 #Generate zip file to be included in installer
-zip -9 -r ../gtk-runtime-$BUNDLE_VERSION.zip Gtk
+ZIPFILE=../gtk-runtime-$BUNDLE_VERSION.zip
+rm -f $ZIPFILE
+zip -9 -r $ZIPFILE Gtk
 
 exit 0
 



More information about the Commits mailing list