From 30c4c07c36aeeaa5f054d75f7697d8f93b398eab Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Sat, 3 Nov 2012 17:58:58 +0100 Subject: download: fix if/else logic Change-Id: I3d465d17f4db8d2cf1253f9f6405051136d31c07 --- download | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'download') diff --git a/download b/download index 7b0aca00ebc9..4ceb866ba631 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:" -- cgit