Changeset 25533
- Timestamp:
- 2012-05-07T14:50:48+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r25512 r25533 1715 1715 } 1716 1716 1717 # returns the path to the java command in the JRE included with GS (if any), 1718 # quoted to safeguard any spaces in this path, otherwise a simple java 1719 # command is returned which assumes and will try for a system java. 1717 1720 sub get_java_command { 1718 1721 my $java = "java"; … … 1722 1725 if(-d $java_bin) { 1723 1726 $java = &util::filename_cat($java_bin,"java"); 1727 $java = "\"".$java."\""; # quoted to preserve spaces in path 1724 1728 } 1725 1729 }
Note:
See TracChangeset
for help on using the changeset viewer.