From cf8d8b0819c3b066d5217a11cb4cf6acf8598a3c Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 23 Jan 2013 14:04:00 +0100 Subject: beta 2013.01.23 14:04 --- scripts/context/lua/mtx-tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/context/lua/mtx-tools.lua b/scripts/context/lua/mtx-tools.lua index c1aaf9e5d..22a83e603 100644 --- a/scripts/context/lua/mtx-tools.lua +++ b/scripts/context/lua/mtx-tools.lua @@ -124,7 +124,7 @@ function scripts.tools.dirtoxml() if mode == "file" then result[#result+1] = format("%s",d,(longname and path and join(path,name)) or name) result[#result+1] = format("%s %s",d,removesuffix(name)) - result[#result+1] = format("%s %s",d,extname(name)) + result[#result+1] = format("%s %s",d,suffixonly(name)) result[#result+1] = format("%s %s",d,attr.size) result[#result+1] = format("%s %s",d,sub(attr.permissions,7,9)) result[#result+1] = format("%s %s",d,date(timestamp,attr.modification)) -- cgit v1.2.3