Changeset 24362 for main/trunk/greenstone2/perllib/g2futil.pm
- Timestamp:
- 2011-08-03T21:17:30+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/g2futil.pm
r24192 r24362 15 15 use strict; 16 16 use util; 17 use Config; # for getting the perlpath in the recommended way18 17 19 18 sub run_cmd_old … … 31 30 32 31 if ($verbosity >= 2) { 33 print "Run ing command:\n";32 print "Running command:\n"; 34 33 print "$cmd\n"; 35 34 } … … 64 63 } 65 64 if (($prog =~ m/.pl$/i) && ($ENV{'GSDLOS'} =~ m/^windows/)) { 66 $prog ="\" $Config{perlpath}\" -S $prog";65 $prog ="\"".&util::get_perl_exec()."\" -S $prog"; 67 66 } 68 67
Note:
See TracChangeset
for help on using the changeset viewer.