Changeset 4303


Ignore:
Timestamp:
2003-05-23T16:13:14+12:00 (21 years ago)
Author:
jmt12
Message:

local library plus bug fix

File:
1 edited

Legend:

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

    r4293 r4303  
    170170                // Having loaded the configuration (necessary to determine if certain warnings have been disabled) and dictionary, we now check if the necessary path variables have been provided.
    171171               
    172                 if(exec_path == null) {
     172                if(config.exec_file == null && config.exec_address == null) {
    173173                     missingEXEC(dictionary);
    174174                }
     
    442442                     filename = decode(args[i+1]);
    443443              }
    444               else if(args[i].equals("-library")) {
     444              else if(args[i].equals("-library") && (i + 1) < args.length) {
    445445                     exec_path = args[i+1];
    446446              }
Note: See TracChangeset for help on using the changeset viewer.