From 60b66fce58b64d121b124e64ef78d37512e3a8a2 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Wed, 28 Aug 2024 10:15:54 +0200 Subject: Re-add FreeBSD support (broken since c1a64c1) (#33) Co-authored-by: cos --- spec/04-term_spec.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua index 57fb4d0..813947a 100644 --- a/spec/04-term_spec.lua +++ b/spec/04-term_spec.lua @@ -27,7 +27,8 @@ describe("Terminal:", function() assert(type(serr) == "boolean", "serr must be a boolean") local tmpfile = "./spec/04-term_helper.output" - local execcmd = "lua ./spec/04-term_helper.lua -- " .. tmpfile + local lua_bin = system.getenv("LUA") or "lua" + local execcmd = lua_bin .. " ./spec/04-term_helper.lua -- " .. tmpfile sin = sin and "" or 'echo "hello" | ' if system.windows then -- cgit v1.2.3-55-g6feb