Changeset 11104 for trunk/gsdl/bin/script/gti.pl
- Timestamp:
- 2006-01-26T11:42:00+13:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/gti.pl
r11056 r11104 541 541 542 542 # Check that the source file is up to date 543 # The "2>/dev/null" is very important! If it is missing this will never return when run from the receptionist 543 544 # unless ($translation_file_is_not_in_cvs) { 544 my $source_file_cvs_status = `cd $gsdl_root_directory; cvs -d $anonymous_cvs_root update $source_file `;545 my $source_file_cvs_status = `cd $gsdl_root_directory; cvs -d $anonymous_cvs_root update $source_file 2>/dev/null`; 545 546 if ($source_file_cvs_status =~ /^C /) { 546 547 &throw_fatal_error("Source file $source_file_path conflicts with the repository."); … … 1087 1088 1088 1089 # Simple: just remove string key 1089 $chunk_text =~ s/^(\S+?): //;1090 $chunk_text =~ s/^(\S+?):(\s*)//; 1090 1091 $chunk_text =~ s/(\s*)$//; # Remove any nasty whitespace, carriage returns etc. 1092 $chunk_text =~ s/(\s*)\#\s+Updated\s+(\d?\d-\D\D\D-\d\d\d\d)\s*$//i; 1091 1093 1092 1094 return $chunk_text;
Note:
See TracChangeset
for help on using the changeset viewer.