fix
CureNetMulti/pipeline/head This commit looks good Details

This commit is contained in:
Sieciech 2021-08-07 11:23:13 +02:00
parent 31d2446b03
commit 4d84f4b542
1 changed files with 2 additions and 2 deletions

View File

@ -12,13 +12,13 @@ class PutEnv {
$argc = sizeof($argv); $argc = sizeof($argv);
print_r([$argc, $argv]); print_r([$argc, $argv]);
switch($argc) { switch($argc) {
case 3: case 4:
$this->file = $argv[1]; $this->file = $argv[1];
$this->key = $argv[2]; $this->key = $argv[2];
$this->value -> $argv[3]; $this->value -> $argv[3];
break; break;
case 2: case 3:
$this->file = $argv[1]; $this->file = $argv[1];
$this->key = $argv[2]; $this->key = $argv[2];
$this->value = fgets(STDIN); $this->value = fgets(STDIN);