Ignore:
Timestamp:
2009-11-10T20:49:48+13:00 (14 years ago)
Author:
oranfry
Message:

Since we can now have a Perl installation inside Greenstone on linux as well, GLI code for Linux also launches perl with the -S flag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/trunk/src/org/greenstone/gatherer/download/DownloadJob.java

    r19313 r20924  
    232232
    233233    ArrayList command_list = new ArrayList();
    234         if (Utility.isWindows()) {
    235         command_list.add(Configuration.perl_path);
    236         command_list.add("-S");
    237     }
    238 
     234   
    239235    // the following also works for client-gli if downloading is enabled (when there's a gs2build directory inside gli)
     236    command_list.add(Configuration.perl_path);
     237    command_list.add("-S");
    240238    command_list.add(LocalGreenstone.getBinScriptDirectoryPath()+"downloadfrom.pl");
    241239    command_list.add("-download_mode");
Note: See TracChangeset for help on using the changeset viewer.