# [PATCH] gitweb: Make use of the $git_dir variable at sub git_get_project_description

1 messages from 2008-01-30 to 2008-01-30. Participants: Bruno Ribas.
Thread: https://gitlist.dev/t/11791

## Bruno Ribas, 2008-01-30 05:37

Subject: [PATCH] gitweb: Make use of the $git_dir variable at sub git_get_project_description
Message-ID: <1201671476-15725-1-git-send-email-ribas@c3sl.ufpr.br>
URL: https://gitlist.dev/e/1201671476-15725-1-git-send-email-ribas%40c3sl.ufpr.br

```

Signed-off-by: Bruno Ribas <ribas@c3sl.ufpr.br>
---
 gitweb/gitweb.perl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index e29ad0a..157f499 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -1606,7 +1606,7 @@ sub git_get_project_description {
 	my $path = shift;
 
 	$git_dir = "$projectroot/$path";
-	open my $fd, "$projectroot/$path/description"
+	open my $fd, "$git_dir/description"
 		or return git_get_project_config('description');
 	my $descr = <$fd>;
 	close $fd;
-- 
1.5.3.8

```
