update-luarocks-package: fix version pinning

This commit is contained in:
Matthieu Coudron 2019-03-20 17:35:43 +09:00
parent acbdaa569f
commit f84594c7d7

View File

@ -81,7 +81,7 @@ function convert_pkg () {
server=" --server=$3"
fi
version="${3:-}"
version="${4:-}"
echo "looking at $lua_pkg_name (version $version) from server [$server]" >&2
cmd="luarocks nix $server $lua_pkg_name $version"