This repository was archived by the owner on Mar 29, 2019. It is now read-only.
File tree 2 files changed +4
-8
lines changed
2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
Param (
2
2
[Parameter (mandatory = $false )][String ]$mariadbVersion = $null ,
3
3
[Parameter (mandatory = $false )][String ]$mroongaVersion = $null ,
4
- [Parameter (mandatory = $false )][String ] $platform = $null
4
+ [Parameter (mandatory = $false )][String []] $platforms = $null
5
5
)
6
6
7
7
[Reflection.Assembly ]::LoadWithPartialName(" System.IO.Compression.FileSystem" )
@@ -14,9 +14,7 @@ if (!$mariadbVersion) {
14
14
if (! $mroongaVersion ) {
15
15
$mroongaVersion = $mroongaVer
16
16
}
17
- if ($platform ) {
18
- $platforms = $platform -split " ,"
19
- } else {
17
+ if (! $platforms ) {
20
18
$platforms = " win32" , " winx64"
21
19
}
22
20
Original file line number Diff line number Diff line change 5
5
Param (
6
6
[Parameter (mandatory = $false )][String ]$mariadbVersion = $null ,
7
7
[Parameter (mandatory = $false )][String ]$mroongaVersion = $null ,
8
- [Parameter (mandatory = $false )][String ] $platform = $null
8
+ [Parameter (mandatory = $false )][String []] $platforms = $null
9
9
)
10
10
11
11
. " .\versions.ps1"
@@ -16,9 +16,7 @@ if (!$mariadbVersion) {
16
16
if (! $mroongaVersion ) {
17
17
$mroongaVersion = $mroongaVer
18
18
}
19
- if ($platform ) {
20
- $platforms = $platform -split " ,"
21
- } else {
19
+ if (! $platforms ) {
22
20
$platforms = " win32" , " winx64"
23
21
}
24
22
You can’t perform that action at this time.
0 commit comments