Changeset 24223
- Timestamp:
- 2011-07-04T15:01:03+12:00 (12 years ago)
- Location:
- main/trunk/greenstone2/bin/script
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/gsConvert.pl
r24192 r24223 49 49 50 50 if(!$ENV{'PERLPATH'}) { 51 my $full_perl_exec = $Config{perlpath}; #$^X; 51 use Config; # for some reason, this can't be a require statement 52 my $full_perl_exec = $Config{perlpath}; #$^X; 52 53 require File::Basename; 53 54 my $perl_path = File::Basename::dirname($full_perl_exec); … … 62 63 use util; 63 64 use Cwd; 64 use Config; # for getting the perlpath in the recommended way65 #use Config; # for getting the perlpath in the recommended way 65 66 # Note: even though this (and other) use statement comes after its 66 67 # usage in BEGIN, the use statement is in fact executed before BEGIN. 68 # Doesn't work here for Greenstone 3. 67 69 68 70 -
main/trunk/greenstone2/bin/script/gti.pl
r24192 r24223 33 33 34 34 if(!$ENV{'PERLPATH'}) { 35 use Config; # for getting the perlpath in the recommended way 35 36 my $full_perl_exec = $Config{perlpath}; #$^X; 36 37 require File::Basename; … … 43 44 use strict; 44 45 use util; 45 use Config; # for getting the perlpath (above!) in the recommended way46 46 47 47
Note:
See TracChangeset
for help on using the changeset viewer.