changeset 29521:1469137fb045

mkdir -p is better than checking for directory existence
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 04 Mar 2010 04:16:49 +0000
parents d4c887b0cb43
children b248178bc7b0
files pidgin/win32/nsis/generate_gtk_zip.sh
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/win32/nsis/generate_gtk_zip.sh	Thu Mar 04 02:20:50 2010 +0000
+++ b/pidgin/win32/nsis/generate_gtk_zip.sh	Thu Mar 04 04:16:49 2010 +0000
@@ -30,15 +30,12 @@
 #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