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

@@ -46,7 +46,7 @@ class IDF_Scm_Git extends IDF_Scm
if (!file_exists($this->repo)) {
return 0;
}
$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_Git::getRepositorySize', $cmd),