summaryrefslogtreecommitdiff
path: root/download
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2011-12-11 19:54:48 -0500
committerPeter Foley <pefoley2@verizon.net>2011-12-11 19:56:31 -0500
commitf00172b81c8bab0b1c62cbca1bc14b83deed8806 (patch)
treed49393fb39f6b07279d41a2de58ac00475e8ade8 /download
parentf44d288a96f4efa23cbcc172261962c8010f9797 (diff)
fix automatic download of dlls on windows
Diffstat (limited to 'download')
-rwxr-xr-xdownload5
1 files changed, 3 insertions, 2 deletions
diff --git a/download b/download
index c889a4635410..9b68703ebe57 100755
--- a/download
+++ b/download
@@ -211,8 +211,8 @@ if [ "$COM" = "MSC" -a -n "$md5sum" ]; then
TMPUNPACK=`cygpath -d $TARFILE_LOCATION/tmp`
chmod a+w $TARFILE_LOCATION/tmp
if [ ! -f ./external/dbghelp/dbghelp.dll -a -f $TARFILE_LOCATION/dbghinst.EXE ]; then
- if [ ! -x $TARFILE_LOCATION/dbghinst.EXE ]; then
- chmod +x $TARFILE_LOCATION/dbghinst.EXE
+ if [ ! -x `cygpath $TARFILE_LOCATION`/dbghinst.EXE ]; then
+ chmod +x `cygpath $TARFILE_LOCATION`/dbghinst.EXE
fi
$TARFILE_LOCATION/dbghinst.EXE /T:$TMPUNPACK /C
sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/dbghelp.exe | sed "s/ .*//"`
@@ -222,6 +222,7 @@ if [ "$COM" = "MSC" -a -n "$md5sum" ]; then
fi
if [ ! -f ./external/gdiplus/gdiplus.dll -a -f $TARFILE_LOCATION/WindowsXP-KB975337-x86-ENU.exe ]; then
gdiplus_dll_path=asms/10/msft/windows/gdiplus/gdiplus.dll
+ chmod +x `cygpath $TARFILE_LOCATION`/WindowsXP-KB975337-x86-ENU.exe
# Run it through cmd so that the UAC prompt is displayed
echo