diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-08-30 18:54:55 -0400 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-07 10:42:16 +0200 |
commit | 79fce4ddeb8b45fd047a97507051cd9ca4245f60 (patch) | |
tree | 30d791d9d4d9dbf85432328ae3bf4696889b7c0e /download | |
parent | 959cbe4c6931170aec74a212ea02b6a64568b00a (diff) |
Win8 SDK no longer ships rebase.exe
Change-Id: I3c4280ee53411f4914be8ebd4f41d1c1cec1ba97
Diffstat (limited to 'download')
-rwxr-xr-x | download | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -183,6 +183,11 @@ if [ "$COM" = "MSC" ]; then downloaditem "http://download.microsoft.com/download/E/9/F/E9FCA9E9-9908-4D8F-B491-8E8A4C294C01/" "WindowsXP-KB958911-x86-ENU.exe" "ff084c5815b0672d54628158b820f5b1" fi +if [ "$REBASE" = "download" ]; then + downloaditem "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools/" "cab1.cab" "15331cc5cb4a03e7a44aaa303e34bf5b" + downloaditem "http://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKTools/" "WinSDKTools_x86.msi" "d1f44ddc2ba6bbda79407e951e44303b" +fi + if [ -f $start_dir/sources.ver -a ! -d $start_dir/.git ] ; then # these sources are from a tarball, so get the other source tarballs . $start_dir/sources.ver @@ -223,6 +228,18 @@ if [ "$COM" = "MSC" -a -n "$md5sum" ]; then cp $TARFILE_LOCATION/tmp/$dbghelp_dll_path ./external/dbghelp/dbghelp.dll fi fi + + if [ "$REBASE" = "download" ]; then + if [ ! -f ./external/rebase/rebase.exe -a -f $TARFILE_LOCATION/WinSDKTools_x86.msi ]; then + msiexec /a `cygpath -d $TARFILE_LOCATION/WinSDKTools_x86.msi` /qn TARGETDIR=$TMPUNPACK SHORTFILENAMES=1 + rebase_exe_path=Pfiles/*/Windows/v7.1/Bin/ReBase.Exe + sum=`$md5sum $md5special $TARFILE_LOCATION/tmp/$rebase_exe_path | sed "s/ .*//"` + if [ "$sum" = "5892a62147b7be59f0553ae3634e9dfa" ]; then + cp $TARFILE_LOCATION/tmp/$rebase_exe_path ./external/rebase/rebase.exe + fi + fi + fi + if [ ! -f ./external/gdiplus/gdiplus.dll -a -f $TARFILE_LOCATION/WindowsXP-KB958911-x86-ENU.exe ]; then gdiplus_dll_path=SP3QFE/asms/10/msft/windows/gdiplus/gdiplus.dll chmod +x `cygpath $TARFILE_LOCATION`/WindowsXP-KB958911-x86-ENU.exe |