From a5bb830535f462e6009325bb1af20533f83e376c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Fri, 3 Jun 2016 23:33:55 +0100 Subject: [PATCH] blender.rb: use Hbc.appdir instead of appdir --- Casks/blender.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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