Changeset 10187 for trunk/gsdl3/src


Ignore:
Timestamp:
2005-06-28T11:03:47+12:00 (19 years ago)
Author:
kjdon
Message:

modified the gdbm db file path to use .bdb if on a mac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java

    r10100 r10187  
    290290                      String collection_name) {
    291291
     292    String db_ext = ".ldb";
     293    if (Misc.isMac()) {
     294        db_ext = ".bdb";
     295    }
    292296    return site_home + File.separatorChar +
    293297        "collect" + File.separatorChar +
    294298        collection_name + File.separatorChar +
    295299        "index" + File.separatorChar + "text" + File.separatorChar +
    296         collection_name + ".ldb";
     300        collection_name + db_ext;
    297301
    298302    }
Note: See TracChangeset for help on using the changeset viewer.