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