Lines Matching full:local
3 local ucl = require("ucl")
6 local os_type = os.getenv("TYPE")
7 local os_version = os.getenv("OSRELEASE")
9 local capability_file = os.getenv("ORACLE_CAPABILITY")
11 local shapes_file = os.getenv("ORACLE_SHAPES")
13 local template_file = os.getenv("ORACLE_TEMPLATE")
14 local output_file = os.getenv("ORACLE_OUTPUT")
24 local function read_file(path)
25 local f = io.open(path, "r")
30 local content = f:read("*a")
36 local template = read_file(template_file)
37 local metadata = ucl.parser()
39 local data = metadata:get_object()
46 local caps = read_file(capability_file)
51 local caps_parser = ucl.parser()
60 local shapes_data = read_file(shapes_file)
61 local shapes = ucl.parser()
66 local dir = os.getenv("PWD")
67 local out = io.open(output_file, "w")