Skip to content

Commit

Permalink
fetch-bundled_gems.rb: Fixed the position of -c
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Apr 25, 2020
1 parent f12f9f5 commit 7c88bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool/fetch-bundled_gems.rb
Expand Up @@ -17,7 +17,7 @@
puts "retrieving #{n} ..."
system(*%W"git clone #{u} #{n}") or abort
end
checkout = %w"git checkout -c advice.detachedHead=false"
checkout = %w"git -c advice.detachedHead=false checkout"
unless system(*checkout, v.sub(/\A(?=\d)/, 'v'), chdir: n)
unless /\A\d/ =~ v and system(*checkout, v, chdir: n)
abort
Expand Down

0 comments on commit 7c88bb3

Please sign in to comment.