diff --git a/CHANGELOG b/CHANGELOG index ea9fa97..83dc646 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +* Mon May 24 2021 Matiss Treinis - 1.1.5 +- Bugfix - within aliased to shell in local context. + * Mon May 24 2021 Matiss Treinis - 1.1.4 - Add "local" command for local execution context runner - Introduce strict mode diff --git a/CMakeLists.txt b/CMakeLists.txt index e3a342a..7de0b3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.11.4) # IMPORTANT: updating version might require update in package dependencies at the end of this file. -set(KAFE_VERSION "1.1.4") +set(KAFE_VERSION "1.1.5") set(KAFE_SOVERSION "1.1") set(KAFE_VERSION_INT 11) set(KAFE_VERSION_DEP_NEXT_MAJOR "2.0.0") diff --git a/libkafe/src/scripting/script.cpp b/libkafe/src/scripting/script.cpp index ea29c17..5656ef0 100644 --- a/libkafe/src/scripting/script.cpp +++ b/libkafe/src/scripting/script.cpp @@ -513,7 +513,7 @@ namespace kafe::scripting { const auto *scope = get_scope(L); if (scope->get_context()->is_local_context()) { - return lua_api_local_shell(L); + return lua_api_local_within(L); } if (!scope->has_current_api()) {