diff --git a/Casks/blender.rb b/Casks/blender.rb index c8340ce016348..82b02c628d1ad 100644 --- a/Casks/blender.rb +++ b/Casks/blender.rb @@ -18,8 +18,8 @@ pythonversion = '3.4' File.open(shimscript, 'w') do |f| f.puts '#!/bin/bash' - f.puts "export PYTHONHOME=#{appdir}/blender.app/Contents/Resources/#{version}/python/lib/python#{pythonversion}" - f.puts "#{appdir}/blender.app/Contents/MacOS/blender $@" + f.puts "export PYTHONHOME=#{Hbc.appdir}/blender.app/Contents/Resources/#{version}/python/lib/python#{pythonversion}" + f.puts "#{Hbc.appdir}/blender.app/Contents/MacOS/blender $@" FileUtils.chmod '+x', f end end