forked from uup-dump/standalone
Allow build to be specified as a string
This commit is contained in:
parent
78db746a8c
commit
bd9de475b0
@ -2,7 +2,7 @@
|
|||||||
$arch = isset($argv[1]) ? $argv[1] : 'amd64';
|
$arch = isset($argv[1]) ? $argv[1] : 'amd64';
|
||||||
$ring = isset($argv[2]) ? $argv[2] : 'WIF';
|
$ring = isset($argv[2]) ? $argv[2] : 'WIF';
|
||||||
$flight = isset($argv[3]) ? $argv[3] : 'Active';
|
$flight = isset($argv[3]) ? $argv[3] : 'Active';
|
||||||
$build = isset($argv[4]) ? intval($argv[4]) : 16251;
|
$build = isset($argv[4]) ? $argv[4] : 16251;
|
||||||
$minor = isset($argv[5]) ? intval($argv[5]) : 0;
|
$minor = isset($argv[5]) ? intval($argv[5]) : 0;
|
||||||
$sku = isset($argv[6]) ? intval($argv[6]) : 48;
|
$sku = isset($argv[6]) ? intval($argv[6]) : 48;
|
||||||
$type = isset($argv[7]) ? $argv[7] : 'Production';
|
$type = isset($argv[7]) ? $argv[7] : 'Production';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
$arch = isset($argv[1]) ? $argv[1] : 'amd64';
|
$arch = isset($argv[1]) ? $argv[1] : 'amd64';
|
||||||
$ring = isset($argv[2]) ? $argv[2] : 'WIF';
|
$ring = isset($argv[2]) ? $argv[2] : 'WIF';
|
||||||
$flight = isset($argv[3]) ? $argv[3] : 'Active';
|
$flight = isset($argv[3]) ? $argv[3] : 'Active';
|
||||||
$build = isset($argv[4]) ? intval($argv[4]) : 16251;
|
$build = isset($argv[4]) ? $argv[4] : 16251;
|
||||||
$minor = isset($argv[5]) ? intval($argv[5]) : 0;
|
$minor = isset($argv[5]) ? intval($argv[5]) : 0;
|
||||||
$sku = isset($argv[6]) ? intval($argv[6]) : 48;
|
$sku = isset($argv[6]) ? intval($argv[6]) : 48;
|
||||||
$type = isset($argv[7]) ? $argv[7] : 'Production';
|
$type = isset($argv[7]) ? $argv[7] : 'Production';
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
require_once dirname(__FILE__).'/../api/shared/main.php';
|
require_once dirname(__FILE__).'/../api/shared/main.php';
|
||||||
|
|
||||||
function brand($script = null) {
|
function brand($script = null) {
|
||||||
$projVersion = '1.1.4';
|
$projVersion = '1.2.0';
|
||||||
return 'UUP dump standalone v'.$projVersion;
|
return 'UUP dump standalone v'.$projVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user