Skip to content

Commit

Permalink
Make linux-readline support POSIX sh compatible
Browse files Browse the repository at this point in the history
See the following PR's discussion for more details:

#64
  • Loading branch information
Kazuo256 committed Sep 12, 2022
1 parent ee78a5a commit 4af37ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luaver
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ __luaver_install_lua()
__luaver_print "Unable to detect platform. Using default 'posix'"
platform=posix
else
if [[ "${version}" =~ 5[.]4[.][0-9]+ ]]
if [ -n "$('echo' "${version}" | 'awk' '/^5\.4\./')" ]
then
platform="${platform}-readline"
fi
Expand Down

0 comments on commit 4af37ba

Please sign in to comment.