From 6fcb8842acf95eb09e6c7d8b1d031fa184ae3c47 Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Mon, 5 Mar 2018 21:45:42 +0000 Subject: [PATCH] Drop 'sanity check' Will clearly be needed for #40. --- l3build-variables.lua | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/l3build-variables.lua b/l3build-variables.lua index bee2ef29..344c1a3b 100644 --- a/l3build-variables.lua +++ b/l3build-variables.lua @@ -35,29 +35,6 @@ end module = module or "" bundle = bundle or "" --- Sanity check -if module == "" and bundle == "" then - if string.match(arg[0], "l3build%.lua$") then - print( - "\n" .. - "l3build: A testing and building system for LaTeX\n\n" .. - "Release " .. release_date - ) - if arg[1] and not string.match(arg[1], "version") then - print( - "\n" - .. "Error: Call l3build using a configuration file, not directly.\n" - ) - end - else - print( - "\n" - .. "Error: Specify either bundle or module in configuration script.\n" - ) - end - exit(1) -end - -- Directory structure for the build system -- Use Unix-style path separators currentdir = "."