From c43b23ee3db0122c81a02541600ec9705ab12608 Mon Sep 17 00:00:00 2001 From: Wilson Kazuo Mizutani Date: Sun, 20 Jun 2021 18:08:07 -0300 Subject: [PATCH] Add linux-readline target support for 5.4.x --- luaver | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/luaver b/luaver index d0cd9c3..7abf881 100755 --- a/luaver +++ b/luaver @@ -428,6 +428,10 @@ __luaver_install_lua() __luaver_print "Unable to detect platform. Using default 'posix'" platform=posix else + if [ -n "$('echo' "${version}" | 'awk' '/^5\.4\./')" ] + then + platform="${platform}-readline" + fi __luaver_print "Platform detected: ${platform}" fi