compile: writing description file should be conditional
This commit is contained in:
parent
012d4b1fb6
commit
448c0d37ba
|
@ -381,7 +381,7 @@ for my $repo (sort keys %repos) {
|
||||||
print "gitweb add $repo.git\n";
|
print "gitweb add $repo.git\n";
|
||||||
}
|
}
|
||||||
# add the description file; no messages to user or error checking :)
|
# add the description file; no messages to user or error checking :)
|
||||||
open(DESC, ">", $desc_file) and print DESC "$desc{$repo}\n" and close DESC;
|
$desc{$repo} and open(DESC, ">", $desc_file) and print DESC "$desc{$repo}\n" and close DESC;
|
||||||
} else {
|
} else {
|
||||||
if ($projlist{"$repo.git"}) {
|
if ($projlist{"$repo.git"}) {
|
||||||
# delete it from new list
|
# delete it from new list
|
||||||
|
|
Loading…
Reference in a new issue