download: fix if/else logic
Change-Id: I3d465d17f4db8d2cf1253f9f6405051136d31c07
This commit is contained in:
5
download
5
download
@@ -213,7 +213,8 @@ if [ "$COM" = "MSC" -a "$CPUNAME" = "INTEL" ]; then
|
|||||||
# Windows builds need dbghelp.dll in external/dbghelp/
|
# Windows builds need dbghelp.dll in external/dbghelp/
|
||||||
if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/$DBGHELP_DLL ]; then
|
if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/$DBGHELP_DLL ]; then
|
||||||
cp $TARFILE_LOCATION/$DBGHELP_DLL ./external/dbghelp/dbghelp.dll
|
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 "dbghelp.dll is missing in external/dbghelp/."
|
||||||
echo "Get it from the Microsoft site and put it there."
|
echo "Get it from the Microsoft site and put it there."
|
||||||
echo "(Note: Microsoft seems to enjoy changing the exact location of this file."
|
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"
|
echo "WindowsXP-KB958911-x86-ENU.exe did not unpack the expected $gdiplus_dll_path"
|
||||||
fi
|
fi
|
||||||
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 "gdiplus.dll is missing in external/gdiplus/."
|
||||||
echo "Get it from the Microsoft site and put it there."
|
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:"
|
echo "You may have to search Microsoft's website. Last time it was seen at:"
|
||||||
|
Reference in New Issue
Block a user