Fix symlinks to directories in the input directory not being included in the <install> section of the generated file_list.xml

Only exclude plain directories from update packages, not symlinks to directories.
This commit is contained in:
Robert Knight 2011-09-01 17:42:46 +01:00
parent 48084cfdb2
commit 6c9c8696fb

View file

@ -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