Skip to content

Commit c43b23e

Browse files
committed
Add linux-readline target support for 5.4.x
1 parent 9f30561 commit c43b23e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

luaver

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,10 @@ __luaver_install_lua()
428428
__luaver_print "Unable to detect platform. Using default 'posix'"
429429
platform=posix
430430
else
431+
if [ -n "$('echo' "${version}" | 'awk' '/^5\.4\./')" ]
432+
then
433+
platform="${platform}-readline"
434+
fi
431435
__luaver_print "Platform detected: ${platform}"
432436
fi
433437

0 commit comments

Comments
 (0)