diff --git a/opex_manifest_w_linking.rb b/opex_manifest_w_linking.rb index 9d20244..eaa4b3f 100644 --- a/opex_manifest_w_linking.rb +++ b/opex_manifest_w_linking.rb @@ -188,7 +188,7 @@ def enumerate_files(files, base_dir) # create an array of all subdirectories def enumerate_dirs(dirs, base_dir) dirs.each do |dir| - next if dir.to_s.sub(base_dir + '/','') == '.' + next if dir.to_s.sub(base_dir + '/','') == '.' || dir.to_s.end_with?('.') next unless dir.to_s.match(@@files_to_skip).nil? @@opex_folders << dir.to_s.sub(base_dir + '/','') end @@ -196,4 +196,4 @@ def enumerate_dirs(dirs, base_dir) end -CreateOpexManifest.new \ No newline at end of file +CreateOpexManifest.new