[Libreoffice-commits] .: download

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Nov 3 10:00:04 PDT 2012


 download |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 30c4c07c36aeeaa5f054d75f7697d8f93b398eab
Author: Matúš Kukan <matus.kukan at gmail.com>
Date:   Sat Nov 3 17:58:58 2012 +0100

    download: fix if/else logic
    
    Change-Id: I3d465d17f4db8d2cf1253f9f6405051136d31c07

diff --git a/download b/download
index 7b0aca0..4ceb866 100755
--- a/download
+++ b/download
@@ -213,7 +213,8 @@ if [ "$COM" = "MSC" -a "$CPUNAME" = "INTEL" ]; then
     # Windows builds need dbghelp.dll in external/dbghelp/
     if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/$DBGHELP_DLL ]; then
         cp $TARFILE_LOCATION/$DBGHELP_DLL ./external/dbghelp/dbghelp.dll
-    else
+    fi
+    if [ ! -f ./external/dbghelp/dbghelp.dll ]; then
         echo "dbghelp.dll is missing in external/dbghelp/."
         echo "Get it from the Microsoft site and put it there."
         echo "(Note: Microsoft seems to enjoy changing the exact location of this file."
@@ -259,7 +260,7 @@ if [ "$COM" = "MSC" -a "$CPUNAME" = "INTEL" ]; then
             echo "WindowsXP-KB958911-x86-ENU.exe did not unpack the expected $gdiplus_dll_path"
         fi
     fi
-    if [ -f ./external/gdiplus/gdiplus.dll ]; then
+    if [ ! -f ./external/gdiplus/gdiplus.dll ]; then
         echo "gdiplus.dll is missing in external/gdiplus/."
         echo "Get it from the Microsoft site and put it there."
         echo "You may have to search Microsoft's website. Last time it was seen at:"


More information about the Libreoffice-commits mailing list