Changeset 3022 for trunk/gsdl/bin/script/xlstohtml.pl
- Timestamp:
- 2002-02-28T14:07:23+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/xlstohtml.pl
r2993 r3022 18 18 # try to find xlhtml binary in GSDLHOME 19 19 my $xlhtml_binary="xlhtml"; 20 my $os_exeext="";21 20 my $GSDLOS=$ENV{'GSDLOS'}; 22 21 my $GSDLHOME=$ENV{'GSDLHOME'}; 23 if ($GSDLOS =~ /^windows $/i) {24 $ os_exeext=".exe";22 if ($GSDLOS =~ /^windows/i) { 23 $xlhtml_binary.=".exe"; 25 24 } 26 25 27 if (-x "$GSDLHOME/bin/$GSDLOS/xlhtml$os_exeext") { 28 $xlhtml_binary="$GSDLHOME/bin/$GSDLOS/xlhtml$os_exeext"; 26 # Trouble happens if there are spaces in GSDLHOME. Assume that on windows 27 # the program is found in the path. 28 if ($GSDLOS !~ /windows/i && -x "$GSDLHOME/bin/$GSDLOS/$xlhtml_binary") { 29 $xlhtml_binary="$GSDLHOME/bin/$GSDLOS/$xlhtml_binary"; 29 30 } 30 31
Note:
See TracChangeset
for help on using the changeset viewer.