1
Fork 0
ci-images/images/lua-clib/run-with-lua

13 lines
123 B
Bash
Executable file

#!/bin/sh
LUA_VERSION="$1"
shift
sudo enable-lua "$LUA_VERSION"
"$@"
ret=$!
sudo disable-lua "$LUA_VERSION"
exit $ret