Bug 319220: checksetup.pl can't cope with a standard CVS install or update.

Patch by Marc Schumann <wurblzap@gmail.com>,
r=LpSolit, a=justdave


git-svn-id: svn://10.0.0.236/trunk@185954 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wurblzap%gmail.com 2005-12-12 08:03:35 +00:00
parent 6cd39aa52d
commit 02e36319ef

View File

@ -1262,6 +1262,8 @@ unless ($switch{'no_templates'}) {
foreach my $dir (@files) {
next if($dir =~ /^CVS$/i);
-d "$templatedir/$dir/custom" || -d "$templatedir/$dir/default"
|| next;
local $ENV{'HTTP_ACCEPT_LANGUAGE'} = $dir;
SetParam("languages", "$dir,en");
$::template = Bugzilla::Template->create(clean_cache => 1);