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 f4dc9ebc3b
commit 27cfc4d2e0

View File

@ -259,7 +259,7 @@ function get_modules_per_repo()
$matches = null; $matches = null;
if (isset($baseurl)) 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)) if ($line && $line[0] == '[' && preg_match('/^\[([^]]*)\]/', $line, $matches))
{ {