Use chdir instead of absolute path

This commit is contained in:
tonnesen 2003-02-04 18:19:38 +00:00
parent a88b8beaf3
commit 3b9defca87

View file

@ -66,7 +66,8 @@ kohahtmldir=$kohahtmldir
# which VERSION are we building ?
#----------------------------------------------------------
print "\n\nGuessing at next release version. You may need to enter your SourceForge password...\n";
open (CVSLOG, "cvs log $kohadir/misc/buildrelease|");
chdir $kohadir;
open (CVSLOG, "cvs log misc/buildrelease|");
my $symbolicnamessection=0;
my $symbolicnames;
my $highestversion;