core.lua (e37f4622dff6e8dd40d40251a4df8071e199c5bb) | core.lua (011eae6c576481685784c6e0afec414c5af92e19) |
---|---|
1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- All rights reserved. 4-- 5-- Redistribution and use in source and binary forms, with or without 6-- modification, are permitted provided that the following conditions 7-- are met: 8-- 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24-- SUCH DAMAGE. 25-- 26-- $FreeBSD$ 27-- 28 | 1-- 2-- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 3-- All rights reserved. 4-- 5-- Redistribution and use in source and binary forms, with or without 6-- modification, are permitted provided that the following conditions 7-- are met: 8-- 1. Redistributions of source code must retain the above copyright --- 12 unchanged lines hidden (view full) --- 21-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22-- LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23-- OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24-- SUCH DAMAGE. 25-- 26-- $FreeBSD$ 27-- 28 |
29local config = require('config') | 29local config = require("config") |
30 31local core = {} 32 33local compose_loader_cmd = function(cmd_name, argstr) 34 if argstr ~= nil then 35 cmd_name = cmd_name .. " " .. argstr 36 end 37 return cmd_name --- 292 unchanged lines hidden --- | 30 31local core = {} 32 33local compose_loader_cmd = function(cmd_name, argstr) 34 if argstr ~= nil then 35 cmd_name = cmd_name .. " " .. argstr 36 end 37 return cmd_name --- 292 unchanged lines hidden --- |