13 lines
123 B
Bash
Executable file
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
|