Changeset 28605 for other-projects
- Timestamp:
- 2013-11-05T19:15:21+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/nightly-tasks/diffcol/trunk/task.pl
r28572 r28605 452 452 exit -1; 453 453 } 454 455 &getIsisGdl("$ENV{'DATA_DIR'}/$gsdl/bin/linux"); 454 456 455 457 # set the path to the greenstone_home variable … … 483 485 exit -1; # or proceed to testing other tutorials? 484 486 } 487 } 488 489 sub getIsisGdl { 490 my $bin_lin_folder = shift(@_); 491 492 if(!$isWin && !$isMac) { 493 my $bit_arch=`uname -m`; 494 if ($bit_arch =~ m/64$/) { 495 my $cmd = "cd $bin_lin_folder && wget http://www.greenstone.org/caveat-emptor/IsisGdl.bin32 && mv IsisGdl.bin32 IsisGdl && chmod u+x IsisGdl"; 496 my $isis_status = system $cmd; 497 if($isis_status != 0) { 498 print STDERR "Unable to get IsisGdl.bin32 from caveat page\n"; 499 } 500 } 501 } 485 502 } 486 503 … … 504 521 &getPDFBox(); 505 522 } 523 524 &getIsisGdl("$greenstone_home/bin/linux"); 506 525 507 526 open (my $xml_fh, '>'.$xmlout) || die "Could not open xml file $xmlout for appending: $!\n";
Note:
See TracChangeset
for help on using the changeset viewer.