diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index af5c577478..d3670057c6 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -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)) {