From 1eaacbb1e97d9a4cc9c51b041318b1f7793f6525 Mon Sep 17 00:00:00 2001 From: lrob Date: Fri, 19 Feb 2016 07:43:55 +0100 Subject: [PATCH] fix lua generator, hopefully --- functions/command_fastdl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/command_fastdl.sh b/functions/command_fastdl.sh index cff4689eb..9680b7297 100644 --- a/functions/command_fastdl.sh +++ b/functions/command_fastdl.sh @@ -280,7 +280,7 @@ if [ "${luaressource}" == "on" ]; then fn_scriptlog "Generating new download enforcer" sleep 1 # Read all filenames and put them into a lua file at the right path - find "${fastdldir}" \( -name "." ! -name "*.bz2" \) -printf '%P\n' | while read line; do + find "${fastdldir}" \( -name "*.*" ! -name "*.bz2" \) -printf '%P\n' | while read line; do echo "resource.AddFile("\""${line}"\"")" >> ${luafastdlfullpath} done fn_printok "Download enforcer generated"