From 537cd7359131e22a62ce99d3685da49913995d24 Mon Sep 17 00:00:00 2001 From: Jason Perkins Date: Tue, 13 May 2014 19:34:53 -0400 Subject: [PATCH] Fix action check to work with new interactive prompt --- src/_premake_main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_premake_main.lua b/src/_premake_main.lua index 8f27459d..99840385 100644 --- a/src/_premake_main.lua +++ b/src/_premake_main.lua @@ -41,7 +41,6 @@ -- can be picked up by the scripts. premake.action.set(_ACTION) - local action = premake.action.current() -- If there is a project script available, run it to get the -- project information, available options and actions, etc. @@ -50,6 +49,8 @@ -- Process special options + local action = premake.action.current() + if (_OPTIONS["version"]) then printf(versionhelp, _PREMAKE_VERSION) return 1