Changeset 24192 for main/trunk/greenstone2/bin/script/full-import.pl
- Timestamp:
- 2011-06-22T17:39:13+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/bin/script/full-import.pl
r24125 r24192 36 36 37 37 use strict; 38 use Config; # for getting the perlpath in the recommended way 38 39 39 40 my $quoted_argv = join(" ", map { "\"$_\"" } @ARGV); … … 48 49 } 49 50 } else { 50 # $^Xis a special variable containing the full path to the current perl executable we are in51 $import_cmd = "\"$ ^X\" -S $import_cmd";51 #Config{perlpath}, like $^X, is a special variable containing the full path to the current perl executable we are in 52 $import_cmd = "\"$Config{perlpath}\" -S $import_cmd"; 52 53 } 53 54
Note:
See TracChangeset
for help on using the changeset viewer.