From 9f9ae8907ec1f2915d461cc36a05aeba087ad5fb Mon Sep 17 00:00:00 2001 From: Dennis Schridde Date: Thu, 13 Dec 2012 17:56:14 +0100 Subject: [PATCH] Use new term module instead of old cutil, set cpath and use a shebang --- examples/test.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) mode change 100644 => 100755 examples/test.lua diff --git a/examples/test.lua b/examples/test.lua old mode 100644 new mode 100755 index 77daaa1..78f0fb1 --- a/examples/test.lua +++ b/examples/test.lua @@ -1,8 +1,10 @@ -package.cpath = package.cpath .. ";./?/?.so" +#!/usr/bin/lua + +package.cpath = package.cpath .. ";lua-?/?.so" local pam = require "pam" local pam_util = require "pam_util" -local cutil = require "cutil" +local term = require "term" local function conversation(t) local resp = {}