pidgin: 597cb04c: mkdir -p is better than checking for dir...

datallah at pidgin.im datallah at pidgin.im
Wed Mar 3 23:27:26 EST 2010


-----------------------------------------------------------------
Revision: 597cb04c9e5f3ce970dfe3586c9dc58a920aebd7
Ancestor: 50bfc1e52f03a370171dc1957fd813da54062657
Author: datallah at pidgin.im
Date: 2010-03-04T04:16:49
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/597cb04c9e5f3ce970dfe3586c9dc58a920aebd7

Modified files:
        pidgin/win32/nsis/generate_gtk_zip.sh

ChangeLog: 

mkdir -p is better than checking for directory existence

-------------- next part --------------
============================================================
--- pidgin/win32/nsis/generate_gtk_zip.sh	61bd557216196a9c4bd33424b93254aab8f00790
+++ pidgin/win32/nsis/generate_gtk_zip.sh	2bb6fd05498ee4d4b23f7f40c932f6523e188db2
@@ -30,15 +30,12 @@ LIBTIFF="http://ftp.gnome.org/pub/gnome/
 #Used by Cairo
 LIBPNG2="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.4.0-1_win32.zip libpng 1.4.0-1"
 LIBTIFF="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libtiff_3.9.1-1_win32.zip libtiff 3.9.1-1"
-#PANGO="http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip Pango 1.22.4-1"
 PANGO="http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.26/pango_1.26.2-1_win32.zip Pango 1.26.2-1"
 ZLIB="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib 1.2.3"
 
 ALL="ATK CAIRO EXPAT FONTCONFIG FREETYPE GETTEXT GLIB GTK LIBJPEG LIBPNG LIBPNG2 LIBTIFF PANGO ZLIB"
 
-if [ ! -e $STAGE_DIR ]; then
-	mkdir $STAGE_DIR
-fi
+mkdir -p $STAGE_DIR
 cd $STAGE_DIR
 
 rm -rf $INSTALL_DIR


More information about the Commits mailing list