Changeset 1784


Ignore:
Timestamp:
2000-12-12T12:31:10+13:00 (23 years ago)
Author:
sjboddie
Message:

changed the test for perl as it didn't work on windows with some versions
of perl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/gsdltools.cpp

    r1783 r1784  
    170170// attempts to work out if perl is functional
    171171bool perl_ok () {
    172   int i = system ("perl -e exit(-10)");
    173   return (i == -10);
     172  int i = gsdl_call_perl ("-e", "exit 1", NULL);
     173  return (i == 1);
    174174}
Note: See TracChangeset for help on using the changeset viewer.