echo working-dir/app if not verbose and fix typo

This commit is contained in:
Ralf Becker 2019-02-17 12:04:03 +01:00
parent 8c3b9466ca
commit 29ee37bd52

View File

@ -249,13 +249,20 @@ foreach(scandir(__DIR__) as $dir)
$cmd .= "; $git pull --rebase"; $cmd .= "; $git pull --rebase";
} }
$cmd .= "; test -z \"$($git stash list)\" || $git stash pop"; $cmd .= "; test -z \"$($git stash list)\" || $git stash pop";
if ($verbose) echo "$cmd\n"; if ($verbose)
{
echo "$cmd\n";
}
elseif ($dir !== '.')
{
echo $dir.': ';
}
system($cmd); system($cmd);
} }
} }
// update composer managed dependencies // update composer managed dependencies
$cmd = $composer.' install '.implode(' '.$composer_args); $cmd = $composer.' install '.implode(' ', $composer_args);
if ($verbose) echo "$cmd\n"; if ($verbose) echo "$cmd\n";
system($cmd); system($cmd);