Use chdir instead of absolute path
authortonnesen <tonnesen>
Tue, 4 Feb 2003 18:19:38 +0000 (18:19 +0000)
committertonnesen <tonnesen>
Tue, 4 Feb 2003 18:19:38 +0000 (18:19 +0000)
misc/buildrelease

index 7cc925c..509897d 100644 (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;