1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Putdown one-use downcase script

Seems to be one-time use https://github.com/github/choosealicense.com/pull/221 and doesn't need to stick around.

Side note: I wondered what was going on with the double rename. I guess to make work with case insensitive file systems, which I had forgotten about.
This commit is contained in:
Mike Linksvayer 2017-01-10 17:23:54 -08:00 committed by GitHub
parent 8dd25de01f
commit dcea53171e

View File

@ -1,7 +0,0 @@
#! /usr/bin/env ruby
# downcases all licenses in a git-friendly way
Dir['_licenses/*'].each do |file|
system "git mv #{file} #{file.downcase}2"
system "git mv #{file.downcase}2 #{file.downcase}"
end