Skip to content

Commit

Permalink
add unzip.exe so that the windows build script will work on teamcity
Browse files Browse the repository at this point in the history
  • Loading branch information
jfaust committed Feb 7, 2013
1 parent 8076a94 commit e323e2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions st_build_windows_common.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,9 @@ echo "downloading ICU..."
$webclient = New-Object System.Net.WebClient
$webclient.DownloadFile("http://repo.suitabletech.com/downloads/icu4c-50_1_2-$osname-msvc10.zip", "$(get-location)/icu.zip")

function unzip($filename)
{
if (!(test-path $filename)) { throw "$filename does not exist" }
$shell = new-object -com shell.application
$shell.namespace($pwd.path).copyhere($shell.namespace((join-path $pwd $filename)).items(), 0x14)
}

# Unzipping icu
echo "unzipping ICU..."
unzip("icu.zip")
& ./unzip.exe "icu.zip"

$icu_libdir = "$(get-location)\icu\lib"
if ($osname -eq "win64")
Expand Down
Binary file added unzip.exe
Binary file not shown.

0 comments on commit e323e2e

Please sign in to comment.