lib/hotplate/cli/eclipse.rb in hotplate-1.0.2 vs lib/hotplate/cli/eclipse.rb in hotplate-1.0.3
- old
+ new
@@ -1,9 +1,9 @@
if File.exist? "#{dir}/build.gradle"
if os == :windows
- system("(cd #{dir} && gradlew eclipse)")
+ system("(cd \"#{dir}\" && gradlew eclipse)")
else
- system("(cd #{dir} && ./gradlew eclipse)")
+ system("(cd \"#{dir}\" && ./gradlew eclipse)")
end
else
puts "Not a Java Project!"
end