fix not detected modules since use of EGW_REPO_BASE

This commit is contained in:
Ralf Becker 2016-06-27 20:40:24 +02:00
parent 718ec8006b
commit a8bc06cdb2

View File

@ -259,7 +259,7 @@ function get_modules_per_repo()
$matches = null;
if (isset($baseurl))
{
$line = str_replace("\$(git config --get remote.origin.url|sed 's|/egroupware.git||')", $baseurl, $line);
$line = str_replace("\${EGW_REPO_BASE:-\$(git config --get remote.origin.url|sed 's|/egroupware.git||')}", $baseurl, $line);
}
if ($line && $line[0] == '[' && preg_match('/^\[([^]]*)\]/', $line, $matches))
{