Ignore:
Timestamp:
2013-10-31T20:21:30+13:00 (10 years ago)
Author:
ak19
Message:

Removing the unused env_var variable from the set_gnomelib_env function introduced yesterday and commented out references to this variable in this function. Instead, doc.pm has a comment on how to set and use this env variable (if it's ever needed) before launching any binary dependent on it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/doc.pm

    r28560 r28575  
    376376    &util::set_gnomelib_env(); # gnomelib_env (particularly lib/libiconv2.dylib) required to run the hashfile executable on Mac Lions
    377377    # The subroutine will set the gnomelib env once for each subshell launched, by first testing if GEXTGNOME is not already set
     378
     379    # A different way to set the gnomelib env would be to do it more locally: exporting the necessary vars
     380    # (specifically DYLD/LD_LIB_PATH) for gnome_lib as part of the command executed.
     381    # E.g. $result=`export LD_LIBRARY_PATH=../ext/gnome-lib/darwin/lib; hashfile...`
    378382
    379383    my $result = "NULL";
Note: See TracChangeset for help on using the changeset viewer.