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.

Location:
gli/trunk/src/org/greenstone/gatherer/greenstone
Files:
2 edited

Legend:

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

    r17612 r20924  
    138138        else {
    139139        ArrayList args = new ArrayList();
    140         if (Utility.isWindows()) {
    141             args.add(Configuration.perl_path);
    142             args.add("-S");
    143         }
     140        args.add(Configuration.perl_path);
     141        args.add("-S");     
    144142        args.add(LocalGreenstone.getBinScriptDirectoryPath() + "classinfo.pl");
    145143        if (collection_specific) {
     
    200198        else {
    201199        ArrayList args = new ArrayList();
    202         if (Utility.isWindows()) {
    203             args.add(Configuration.perl_path);
    204             args.add("-S");
    205         }
     200        args.add(Configuration.perl_path);
     201        args.add("-S");
    206202        args.add(LocalGreenstone.getBinScriptDirectoryPath() + "classinfo.pl");
    207203        if (collection_name != null) {
  • gli/trunk/src/org/greenstone/gatherer/greenstone/Plugins.java

    r17612 r20924  
    139139        else {
    140140        ArrayList args = new ArrayList();
    141         if (Utility.isWindows()) {
    142             args.add(Configuration.perl_path);
    143             args.add("-S");
    144         }
     141        args.add(Configuration.perl_path);
     142        args.add("-S");
    145143        args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl");
    146144        if (collection_specific) {
     
    203201        else {
    204202        ArrayList args = new ArrayList();
    205         if (Utility.isWindows()) {
    206             args.add(Configuration.perl_path);
    207             args.add("-S");
    208         }
     203        args.add(Configuration.perl_path);
     204        args.add("-S");     
    209205        args.add(LocalGreenstone.getBinScriptDirectoryPath() + "pluginfo.pl");
    210206        if (collection_name != null) {
Note: See TracChangeset for help on using the changeset viewer.