mhonarc-commits
[Top] [All Lists]

CVS: devtools/bin release,1.12,1.13

2002-05-07 15:22:10
Update of /cvsroot/mhonarc/devtools/bin
In directory subversions:/tmp/cvs-serv319/bin

Modified Files:
	release 
Log Message:
release:
. Modified how test directory is exported to work-around a
  cvs export bug.


Index: release
===================================================================
RCS file: /cvsroot/mhonarc/devtools/bin/release,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** release	7 May 2002 21:40:19 -0000	1.12
--- release	7 May 2002 22:08:54 -0000	1.13
***************
*** 200,204 ****
  
    ## Run a test build
!   my $testdir	= "$reldir/,test-$version";
    TEST: {
      if ( -e $testdir ) {
--- 200,205 ----
  
    ## Run a test build
!   my $testname  = ",test-$version";
!   my $testdir	= "$reldir/$testname";
    TEST: {
      if ( -e $testdir ) {
***************
*** 213,222 ****
      };
  
!     ch_dir($testdir) || die qq/Error: Unable to chdir to "$testdir": $!\n/;
      if (!$create) {
!       run_prg('cvs', 'export', '-r', $cvstag, '-d', '.', $project);
      } else {
!       run_prg('cvs', 'export', '-D', scalar(localtime), '-d', '.', $project);
      }
      if (@rhosts) {
        foreach (@rhosts) {
--- 214,225 ----
      };
  
!     ch_dir($reldir) || die qq/Error: Unable to chdir to "$reldir": $!\n/;
      if (!$create) {
!       run_prg('cvs', 'export', '-r', $cvstag, '-d', $testname, $project);
      } else {
!       run_prg('cvs', 'export', '-D', scalar(localtime),
! 	      '-d', $testname, $project);
      }
+     ch_dir($testname) || die qq/Error: Unable to chdir to "$testname": $!\n/;
      if (@rhosts) {
        foreach (@rhosts) {


_______________________________________________
MHonArc-dev mailing list
MHonArc-dev(_at_)mail(_dot_)freesoftware(_dot_)fsf(_dot_)org
http://mail.freesoftware.fsf.org/mailman/listinfo/mhonarc-dev