mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Make sure the patches are applied in alphabetical order
This commit is contained in:
parent
9f81ecc5e8
commit
1797175063
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ module Libv8
|
|||
|
||||
def patch!
|
||||
File.open(".applied_patches", File::RDWR|File::CREAT) do |f|
|
||||
available_patches = Dir.glob(File.join(PATCH_DIRECTORY, '*.patch'))
|
||||
available_patches = Dir.glob(File.join(PATCH_DIRECTORY, '*.patch')).sort
|
||||
applied_patches = f.readlines.map(&:chomp)
|
||||
|
||||
(available_patches - applied_patches).each do |patch|
|
||||
|
|
Loading…
Add table
Reference in a new issue