Skip to content

Commit

Permalink
blender.rb: use Hbc.appdir instead of appdir
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorgalvao authored and chizmw committed Jun 15, 2016
1 parent e494603 commit a5bb830
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Casks/blender.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a5bb830

Please sign in to comment.