mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
fix double echo of git command on --verbose
This commit is contained in:
parent
82f9b3edc1
commit
7de6b8ac15
@ -251,11 +251,7 @@ 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)
|
if ($dir !== '.' && !$verbose)
|
||||||
{
|
|
||||||
echo "$cmd\n";
|
|
||||||
}
|
|
||||||
elseif ($dir !== '.')
|
|
||||||
{
|
{
|
||||||
echo $dir.': ';
|
echo $dir.': ';
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user