Changeset 1743 for trunk/gsdl/bin/script/build
- Timestamp:
- 2000-12-05T15:56:25+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/build
r1709 r1743 160 160 # -o = the output file to write download status to (only used if the -out 161 161 # option was given to build) 162 162 163 my $download_cmd = "perl -S gsWget.pl -P \"$importdir\" -np -nv"; 163 $download .= " -r -N -l inf -R \"*\?*\"";164 $download_cmd .= " -r -N -l inf -R \"*\?*\""; 164 165 $download_cmd .= " -o \"$outfile.download\"" if $use_out; 165 166 $download_cmd .= " \"$download_dir\""; … … 181 182 last; 182 183 } else { 183 $file = &util: filename_cat ($importdir, $file);184 $file = &util::filename_cat ($importdir, $file); 184 185 if (-d $file) { 185 186 if (opendir (DIR, $file)) { 186 my @ 2files= readdir DIR;187 my @files2 = readdir DIR; 187 188 closedir DIR; 188 foreach my $ 2file (@2files) {189 if ($ 2file=~ /^robots.txt$/i) {190 &util::rm (&util::filename_cat ($file, $ 2file));189 foreach my $file2 (@files2) { 190 if ($file2 =~ /^robots.txt$/i) { 191 &util::rm (&util::filename_cat ($file, $file2)); 191 192 last; 192 193 }
Note:
See TracChangeset
for help on using the changeset viewer.