[Libguestfs] [PATCH 2/3 take 2] Use LUA variable to determine with which Lua version the tests are run

Hilko Bengen bengen at hilluzination.de
Thu Dec 13 23:51:13 UTC 2012


I think I have come up with a better alternative to generating the Lua
test files:

Replace #!/usr/bin/lua with:

#!/bin/sh
test -z "$LUA" && LUA=/usr/bin/lua
exec $LUA << END_OF_FILE

Apparently, one can leave out the END_OF_FILE marker.

Cheers,
-Hilko




More information about the Libguestfs mailing list