Fix action check to work with new interactive prompt
This commit is contained in:
parent
b722cfef29
commit
537cd73591
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user