patch-src_extension_implementation_script_cpp 1005 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-src_extension_implementation_script_cpp,v 1.5 2017/02/24 08:05:34 landry Exp $
  2. --- src/extension/implementation/script.cpp.orig Mon Jan 2 10:44:59 2017
  3. +++ src/extension/implementation/script.cpp Tue Jan 24 22:01:33 2017
  4. @@ -83,14 +83,14 @@ void Script::pump_events (void) {
  5. the given interpreter to a custom one per user.
  6. */
  7. Script::interpreter_t const Script::interpreterTab[] = {
  8. - {"perl", "perl-interpreter", "perl" },
  9. + {"perl", "perl-interpreter", "/usr/bin/perl" },
  10. #ifdef WIN32
  11. {"python", "python-interpreter", "pythonw" },
  12. #else
  13. - {"python", "python-interpreter", "python" },
  14. + {"python", "python-interpreter", "${MODPY_BIN}" },
  15. #endif
  16. - {"ruby", "ruby-interpreter", "ruby" },
  17. - {"shell", "shell-interpreter", "sh" },
  18. + {"ruby", "ruby-interpreter", "${RUBY}" },
  19. + {"shell", "shell-interpreter", "/bin/sh" },
  20. { NULL, NULL, NULL }
  21. };