From b1dbb07748db625d504cf2de26372a3f10721e59 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Thu, 27 Mar 2014 16:18:27 +1000 Subject: Lua allows hash bang after all. B-) --- ClientHamr/GuiLua/test.lua | 2 +- ClientHamr/GuiLua/test.skang | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ClientHamr') diff --git a/ClientHamr/GuiLua/test.lua b/ClientHamr/GuiLua/test.lua index 459eca4..58f8d19 100644 --- a/ClientHamr/GuiLua/test.lua +++ b/ClientHamr/GuiLua/test.lua @@ -4,7 +4,7 @@ do -- Only I'm not gonna indent this. local skang = require 'skang' local _M = skang.moduleBegin('test', nil, 'Copyright 2014 David Seikel', '0.1', '2014-03-27 03:57:00', [[ -#!skang test.skang -- This is Lua, so this might not work. +#!/usr/bin/env skang -- Lua allows this shell hack. -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' diff --git a/ClientHamr/GuiLua/test.skang b/ClientHamr/GuiLua/test.skang index ea53a26..f4e0b8f 100644 --- a/ClientHamr/GuiLua/test.skang +++ b/ClientHamr/GuiLua/test.skang @@ -1,4 +1,4 @@ -#!skang test.skang -- This is Lua, so this might not work. +#!/usr/bin/env skang -- Lua allows this shell hack. -- There's an implied local this = require 'test' -- There's an implied local skang = require 'skang' -- cgit v1.1