Changeset 22467


Ignore:
Timestamp:
2010-07-21T14:39:49+12:00 (12 years ago)
Author:
ak19
Message:

The trailing slash returned by the updated CollectionManager.getCollectDirectory() was causing problems when running import.pl and such scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r22454 r22467  
    18101810    // used as arg in the perl scripts
    18111811    private String getCollectDirectory() {
    1812     return Gatherer.getCollectDirectoryPath();
     1812    String collect_dir = Gatherer.getCollectDirectoryPath();   
     1813    return collect_dir.substring(0, collect_dir.length()-1); // remove trailing slash
    18131814   
    18141815    // the following will stick any colgroup at the end of the collect directory, making it no longer
Note: See TracChangeset for help on using the changeset viewer.