View | Details | Raw Unified | Return to bug 35291
Collapse All | Expand All

(-)a/tools/upload-cover-image.pl (-6 / +6 lines)
Lines 158-168 if ($fileID) { Link Here
158
            }
158
            }
159
            foreach my $dir (@directories) {
159
            foreach my $dir (@directories) {
160
                my $file;
160
                my $file;
161
                if ( -e "$dir/idlink.txt" ) {
161
                my $idlink   = "$dir/idlink.txt";
162
                    $file = "$dir/idlink.txt";
162
                my $datalink = "$dir/datalink.txt";
163
                }
163
                if ( -e $idlink && !-l $idlink ) {
164
                elsif ( -e "$dir/datalink.txt" ) {
164
                    $file = $idlink;
165
                    $file = "$dir/datalink.txt";
165
                } elsif ( -e $datalink && !-l $datalink ) {
166
                    $file = $datalink;
166
                }
167
                }
167
                else {
168
                else {
168
                    next;
169
                    next;
169
- 

Return to bug 35291