From 0d88a0eb49f8ce4f4038c71776d0634976f8fa6e Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Thu, 13 Aug 1998 10:35:26 +0000 Subject: [PATCH] Always print the name of the current CVS tree. --- en/cgi/cvsweb.cgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/en/cgi/cvsweb.cgi b/en/cgi/cvsweb.cgi index 8dacdaabf0..93f0b97572 100755 --- a/en/cgi/cvsweb.cgi +++ b/en/cgi/cvsweb.cgi @@ -28,7 +28,7 @@ # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. # -# $Id: cvsweb.cgi,v 1.21 1998-07-23 09:42:40 wosch Exp $ +# $Id: cvsweb.cgi,v 1.22 1998-08-13 10:35:26 wosch Exp $ # @@ -173,8 +173,9 @@ if (-d $fullname) { print $shortinstr; } print "

"; - print "Current CVS tree: $cvstree
\n" - if $cvstree ne $cvstreedefault; + print "Current CVS tree: ", + ($CVSROOTdescr{"$cvstree"} ? $CVSROOTdescr{"$cvstree"} : + $cvstree), "
\n"; print "Current directory: /$where\n"; print "


\n"; # Using in this manner violates the HTML2.0 spec but