From: Nathaniel Wesley Filardo Date: Wed, 12 Oct 2022 01:06:48 +0000 (+0100) Subject: bugfix: cdb ingest --relative X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=13585a0e42aba025e467e0244234c999c2bd1ffb;p=csdb bugfix: cdb ingest --relative --- diff --git a/cdb b/cdb index a88a3c7..32540fd 100755 --- a/cdb +++ b/cdb @@ -305,7 +305,7 @@ mksubcmd(function(c) local sth_superseder_by_hash = assert(sql_mk_superseder_find_by_hash(dbh)) local path_crush = - args.relative and function(p) plpath.relpath(p, args.relative) end + args.relative and function(p) return plpath.relpath(p, args.relative) end or plpath.basename local function explain_found_hash(h, p)