--- db/prgsrc/updatedb.pl 2003/01/09 01:43:21 1.31 +++ db/prgsrc/updatedb.pl 2003/01/09 19:48:44 1.32 @@ -28,7 +28,7 @@ The database, user and password are hard Dmitry Rubinstein -=head1 $Id: updatedb.pl,v 1.31 2003/01/09 01:43:21 boris Exp $ +=head1 $Id: updatedb.pl,v 1.32 2003/01/09 19:48:44 roma7 Exp $ =cut @@ -144,7 +144,11 @@ sub SelectGroup { # Теперь, если файла нет в дереве турниров, никаких вопросов не # задаётся, а вместо этого он добавляется в группу 9999 $ParentId = 9999; - print UNSORTED "$source".((12 -length($source))x' ')."\t$TourName\n"; + my $tempsource=$source; + my $temptname=$TourName; + $tempsource=~s/^\'(.*)\'$/$1; + $temptname=~s/^\'(.*)\'$/$1; + print UNSORTED "$tempsource".((12 -length($source))x' ')."\t$temptn\n"; $isunsorted=1; $sth = $dbh->prepare("INSERT INTO Tournaments (Title, Type, ParentId, FileName)