mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Remove extraneous lock files
See https://github.com/rubygems/rubygems/pull/7939
This commit is contained in:
parent
72d016e97b
commit
d6f18b226e
1 changed files with 3 additions and 1 deletions
|
@ -746,7 +746,9 @@ module RbInstall
|
||||||
name = formatted_program_filename(filename)
|
name = formatted_program_filename(filename)
|
||||||
unless $dryrun
|
unless $dryrun
|
||||||
super
|
super
|
||||||
File.chmod($script_mode, File.join(bindir, name))
|
script = File.join(bindir, name)
|
||||||
|
File.chmod($script_mode, script)
|
||||||
|
File.unlink("#{script}.lock") rescue nil
|
||||||
end
|
end
|
||||||
$installed_list.puts(File.join(without_destdir(bindir), name)) if $installed_list
|
$installed_list.puts(File.join(without_destdir(bindir), name)) if $installed_list
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue