Fixed issue 402, Project List shows '0 bytes' Repository size on Mac OS X.

This commit is contained in:
Loic d'Anterroches
2010-02-24 15:06:13 +01:00
parent 51842c02f6
commit 64fb5b3bf0
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ class IDF_Scm_Mercurial extends IDF_Scm
public function getRepositorySize()
{
$cmd = Pluf::f('idf_exec_cmd_prefix', '').'du -skD '
$cmd = Pluf::f('idf_exec_cmd_prefix', '').'du -sk '
.escapeshellarg($this->repo);
$out = explode(' ',
self::shell_exec('IDF_Scm_Mercurial::getRepositorySize',