From: Mike G. v. a. <we...@ma...> - 2010-01-11 18:51:47
|
Log Message: ----------- correct typo Modified Files: -------------- webwork2/lib/WeBWorK/Utils: CourseManagement.pm Revision Data ------------- Index: CourseManagement.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/Utils/CourseManagement.pm,v retrieving revision 1.48 retrieving revision 1.49 diff -Llib/WeBWorK/Utils/CourseManagement.pm -Llib/WeBWorK/Utils/CourseManagement.pm -u -r1.48 -r1.49 --- lib/WeBWorK/Utils/CourseManagement.pm +++ lib/WeBWorK/Utils/CourseManagement.pm @@ -588,8 +588,7 @@ croak "$courseID: course not found"; } - # fail if a course archive already exists - # FIXME there could be an option to overwrite an existing archive + # replace previous archived file if it exists. if (-e $archive_path) { unlink($archive_path) if (-w $archive_path); unless (-e $archive_path) { @@ -602,7 +601,7 @@ #### step 1: dump tables ##### unless (-e $dump_dir) { - mkdir $dump_dir or croak "Failed to create course database dump directory '$data_dir': $!"; + mkdir $dump_dir or croak "Failed to create course database dump directory '$dump_dir': $!"; } my $db = new WeBWorK::DB($ce->{dbLayout}); |