From 4d5acfb90705e1bbd4ca66dcb1c0690d6da522a5 Mon Sep 17 00:00:00 2001 From: Cameron <9978550+NRException@users.noreply.github.com> Date: Fri, 20 Mar 2026 15:50:13 +0000 Subject: [PATCH] fix broken logfile location in Paxton_clone.lua fix broken logfile location in Paxton_clone.lua - MacOS doesn't natively support -printf for the gnu "find" utility. This command seems to work just find without the printf formatting. Signed-off-by: Cameron <9978550+NRException@users.noreply.github.com> --- client/luascripts/paxton_clone.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/luascripts/paxton_clone.lua b/client/luascripts/paxton_clone.lua index 5e9076c9f..7c538181d 100644 --- a/client/luascripts/paxton_clone.lua +++ b/client/luascripts/paxton_clone.lua @@ -10,7 +10,7 @@ local logfilecmd if package.config:sub(1,1) == "\\" then logfilecmd = 'dir /a-d /o-d /tw /b/s "' .. dir .. '" 2>nul:' else - logfilecmd = 'find "' .. dir .. '" -type f -printf "%T@ %p\\n" | sort -nr | cut -d" " -f2-' + logfilecmd = 'find "' .. dir .. '" -type f | sort -nr | cut -d" " -f2-' end local logfile = (io.popen(logfilecmd):read("*a"):match("%C+"))