Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 1797175

Browse files
committed
Make sure the patches are applied in alphabetical order
1 parent 9f81ecc commit 1797175

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/libv8/patcher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module Patcher
66

77
def patch!
88
File.open(".applied_patches", File::RDWR|File::CREAT) do |f|
9-
available_patches = Dir.glob(File.join(PATCH_DIRECTORY, '*.patch'))
9+
available_patches = Dir.glob(File.join(PATCH_DIRECTORY, '*.patch')).sort
1010
applied_patches = f.readlines.map(&:chomp)
1111

1212
(available_patches - applied_patches).each do |patch|

0 commit comments

Comments
 (0)