From 6c9c8696fb3746be08caa80ee94926612ae585e7 Mon Sep 17 00:00:00 2001 From: Robert Knight Date: Thu, 1 Sep 2011 17:42:46 +0100 Subject: [PATCH] Fix symlinks to directories in the input directory not being included in the section of the generated file_list.xml Only exclude plain directories from update packages, not symlinks to directories. --- tools/create-packages.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/create-packages.rb b/tools/create-packages.rb index 9ba2200..feac3a0 100755 --- a/tools/create-packages.rb +++ b/tools/create-packages.rb @@ -349,7 +349,7 @@ FileUtils.mkpath(output_dir) # get the details of each input file input_file_list = [] Find.find(input_dir) do |path| - next if (File.directory?(path)) + next if (File.directory?(path) && !File.symlink?(path)) input_file_list << path end