diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-05-04 18:02:12 +0200 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-05-04 18:02:12 +0200 |
commit | ad717ef646940a985b6cb153f08faec691c425a1 (patch) | |
tree | 2c7275d8e45871869e6543bc501bd8a0110bf299 | |
parent | 042c2bc11a83e56f3e4a3646b44de71c53a92bdf (diff) | |
download | luatexbase-ad717ef646940a985b6cb153f08faec691c425a1.tar.gz |
Fixing small error in module date requirement
-rw-r--r-- | luatexbase-modutils.dtx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/luatexbase-modutils.dtx b/luatexbase-modutils.dtx index 33fc974..9da5605 100644 --- a/luatexbase-modutils.dtx +++ b/luatexbase-modutils.dtx @@ -567,9 +567,8 @@ local function require_module(name, req_date) local info = modules[name] if not info then warn("module '%s' was not properly identified", name) - elseif req_date and info.version then - if not (info.date and date_to_int(info.date) > date_to_int(req_date)) - then + elseif req_date and info.date then + if date_to_int(info.date) < date_to_int(req_date) then warn("module '%s' required in version '%s'\n" .. "but found in version '%s'", name, req_date, info.date) end |