Ignore:
Timestamp:
2014-09-17T19:05:03+12:00 (10 years ago)
Author:
ak19
Message:

Moved the formatconverter binaries from GS3/bin to the new GS3/bin/OS folders, since Macs need a Mac-generated formatconverter binary because the linux-generated formatconverter binary does not work on Mac (when I tested on Mountain Lion and Maverick).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/util/Utility.java

    r29017 r29299  
    340340    }
    341341
     342    /** @return the OSdir foldername: windows, linux or darwin */
     343    public static String getOSdirName() {
     344    if(Utility.isWindows()) {
     345        return "windows";
     346    }   
     347    if(Utility.isMac()) {
     348        return "darwin";
     349    }
     350    return "linux"; // else assume it's a linux machine, OSdirname = linux
     351    }
     352   
    342353
    343354    /** Method to determine if the host system is MacOS based.
Note: See TracChangeset for help on using the changeset viewer.