Ticket #21: nuvexport.2.diff

File nuvexport.2.diff, 1.0 KB (added by Robert Tsai <rtsai1111>, 19 years ago)
  • nuvinfo

     
    88
    99# Add a couple of include paths so we can load the various export and gui modules
    1010    use File::Basename;
    11     use lib dirname($ENV{'_'}), '/usr/share/nuvexport', '/usr/local/share/nuvexport';
     11    use lib dirname($0), '/usr/share/nuvexport', '/usr/local/share/nuvexport';
    1212
    1313# Load the nuv utilities
    1414    use mythtv::nuvinfo;
  • nuvexport

     
    2424# Add a couple of include paths so we can load the various export and gui modules
    2525    use English;
    2626    use File::Basename;
    27     use lib dirname($ENV{'_'} or $PROGRAM_NAME), '/usr/share/nuvexport', '/usr/local/share/nuvexport';
     27    use lib dirname($0), '/usr/share/nuvexport', '/usr/local/share/nuvexport';
    2828
    2929# Load the myth and nuv utilities, and connect to the database
    3030    use nuv_export::shared_utils;