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/gui/DownloadPane.java

    r19188 r20924  
    238238        ArrayList args_list = new ArrayList();
    239239        String args[] = null;
    240         if(Utility.isWindows()) {
    241             if(Configuration.perl_path != null) {
    242             args_list.add(Configuration.perl_path);
    243             }
    244             else {
    245             args_list.add("Perl.exe");
    246             }
    247         }
     240        if(Configuration.perl_path != null) {
     241            args_list.add(Configuration.perl_path);
     242        } else if(Utility.isWindows()) {
     243            args_list.add("Perl.exe");
     244        } else {
     245            args_list.add("perl");
     246        }
     247        args_list.add("-S");
    248248        args_list.add(LocalGreenstone.getBinScriptDirectoryPath()+"downloadinfo.pl");
    249249        args_list.add("-xml");
Note: See TracChangeset for help on using the changeset viewer.