Fix for extensions

This commit is contained in:
Mark Villacampa
2014-08-27 03:12:24 +02:00
committed by Eloy Durán
parent 1d681f1680
commit bf594af9d0
6 changed files with 16 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ PLIST
def src_extension_path
@src_extension_path ||= begin
path = File.join(@path, 'build', build_dir(@config, @platform), '*.appex')
Dir[path].sort_by{ |f| File.mtime(f) }.first
Dir[path].sort_by{ |f| File.mtime(f) }.last
end
end

View File

@@ -128,7 +128,7 @@ PLIST
def framework_path
@framework_path ||= begin
path = File.join(@path, 'build', build_dir(@config, @platform), '*.framework')
Dir[path].sort_by{ |f| File.mtime(f) }.first
Dir[path].sort_by{ |f| File.mtime(f) }.last
end
end