diff --git a/src/gl-compile-conf b/src/gl-compile-conf index c9f8705..6154eb7 100755 --- a/src/gl-compile-conf +++ b/src/gl-compile-conf @@ -549,12 +549,14 @@ for my $repo (@phy_repos) { setup_git_configs($repo, \%git_configs) if $git_configs{$repo}; } -# write out the project list -my $projlist_fh = wrap_open( ">", $PROJECTS_LIST); -for my $proj (sort keys %projlist) { - print $projlist_fh "$proj\n"; +# write out the project list, but not if GL_NO_DAEMON_NO_GITWEB is set +unless ($GL_NO_DAEMON_NO_GITWEB) { + my $projlist_fh = wrap_open( ">", $PROJECTS_LIST); + for my $proj (sort keys %projlist) { + print $projlist_fh "$proj\n"; + } + close $projlist_fh; } -close $projlist_fh; # ---------------------------------------------------------------------------- # "compile" ssh authorized_keys