mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
lua: tests: If $LUA is not set, set it to 'lua' instead of '/usr/bin/lua'.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
# -*- lua -*-
|
||||
test -z "$LUA" && LUA=/usr/bin/lua
|
||||
test -z "$LUA" && LUA=lua
|
||||
exec $LUA << END_OF_FILE
|
||||
-- libguestfs Lua bindings -*- lua -*-
|
||||
-- Copyright (C) 2012 Red Hat Inc.
|
||||
|
||||
Reference in New Issue
Block a user