Changeset 24093 for main/trunk/greenstone2/bin/script/build
- Timestamp:
- 2011-05-26T14:45:49+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/build
r23313 r24093 276 276 # option was given to build) 277 277 278 my $download_cmd = "perl -S gsWget.pl -P \"$importdir\" -np -nv"; 278 #$^X is a special variable containing the full path to the current perl executable we are in 279 my $download_cmd = "$^X -S gsWget.pl -P \"$importdir\" -np -nv"; 279 280 $download_cmd .= " -r -N -l inf -R \"*\\?*\""; 280 281 $download_cmd .= " -o \"$outfile.download\"" if $use_out; … … 325 326 if (-e $download_dir) { 326 327 # copy download_dir and all it contains to the import directory 327 my $download_cmd = "perl -S filecopy.pl"; 328 #$^X is a special variable containing the full path to the current perl executable we are in 329 my $download_cmd = "$^X -S filecopy.pl"; 328 330 $download_cmd .= " -collectdir \"$collectdir\"" if $collectdir =~ /\w/; 329 331 $download_cmd .= " -site \"$site\"" if $site =~ /\w/; … … 464 466 print $out "importing the $collection collection\n\n"; 465 467 466 my $import_cmd = "perl -S import.pl"; 468 #$^X is a special variable containing the full path to the current perl executable we are in 469 my $import_cmd = "$^X -S import.pl"; 467 470 $import_cmd .= " -out \"$outfile.import\"" if $use_out; 468 471 if ($append) { … … 510 513 print $out "building the $collection collection\n\n"; 511 514 512 my $build_cmd = "perl -S buildcol.pl"; 515 #$^X is a special variable containing the full path to the current perl executable we are in 516 my $build_cmd = "$^X -S buildcol.pl"; 513 517 514 518 my $removeold = 1;
Note:
See TracChangeset
for help on using the changeset viewer.