Changeset 15


Ignore:
Timestamp:
1998-11-17T22:51:58+13:00 (25 years ago)
Author:
rjmcnab
Message:

Changed the calling of hashfile so that the program doesn't have
to end in .exe on unix platforms (consistent with other external
programs).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/doc.pm

    r4 r15  
    118118    my ($filename) = @_;
    119119
    120     my $hashfile_exe = "$ENV{'GSDLHOME'}/bin/$ENV{'GSDLOS'}/hashfile.exe";
     120    my $osexe = &util::get_os_exe();
     121
     122    my $hashfile_exe = "$ENV{'GSDLHOME'}/bin/$ENV{'GSDLOS'}/hashfile$osexe";
    121123    my $result = "NULL";
    122124
     
    126128
    127129    } else {
    128     print STDERR "doc::_calc_OID hashfile.exe could not be found\n";
     130    print STDERR "doc::_calc_OID hashfile_exe could not be found\n";
    129131    }
    130132
Note: See TracChangeset for help on using the changeset viewer.