Skip to content
This repository was archived by the owner on Jul 14, 2021. It is now read-only.

Commit f203960

Browse files
committed
Merge pull request #546 from chef/jdm/always-cleanup-embedded
Always clean up embedded/bin
2 parents 199638d + 5e2c9d4 commit f203960

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config/software/shebang-cleanup.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
"%~dp0\\..\\embedded\\bin\\ruby.exe" "%~dpn0" %*
4343
EOF
4444
end
45-
elsif File.exists?("#{install_dir}/embedded/bin/#{bin}")
45+
end
46+
if File.exists?("#{install_dir}/embedded/bin/#{bin}")
4647
File.open("#{install_dir}/embedded/bin/#{bin}.bat", "w") do |f|
4748
f.puts <<-EOF
4849
@ECHO OFF

0 commit comments

Comments
 (0)