summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-11-03 17:58:58 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-11-03 17:58:58 +0100
commit30c4c07c36aeeaa5f054d75f7697d8f93b398eab (patch)
tree1e9c8dca0b53fb684d65d669ee037ca45d53ecd8
parent8835ac678f54ec881c5072290fe54be0cc9b5196 (diff)
download: fix if/else logic
Change-Id: I3d465d17f4db8d2cf1253f9f6405051136d31c07
-rwxr-xr-xdownload5
1 files changed, 3 insertions, 2 deletions
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:"