lib/flak/rake/templates/maya_plugin.rb in flak-0.0.8 vs lib/flak/rake/templates/maya_plugin.rb in flak-0.0.9

- old
+ new

@@ -25,20 +25,20 @@ lib_path = File.join(settings[:maya_location], settings[:maya_relative_lib_path]) mods[:lib_paths] = [ lib_path ] case settings[:os] - when /linux_64/ + when /linux64/ mods[:linker_options] = [ "-Wl,-rpath,#{lib_path}" ] mods[:include_paths] = [ File.join( settings[:maya_location], "include" ) ] - when /darwin/ + when /darwin64/ mods[:linker_options] = [ "-Wl,-executable_path,#{lib_path}" ] mods[:include_paths] = [ File.join(settings[:maya_location],"devkit", "include" ) ] - when /win_64/ + when /win64/ mods[:linker_options] = [] mods[:include_paths] = [ File.join(settings[:maya_location], "include" ) ] end @@ -58,10 +58,10 @@ # these methods will become instance methods of the target # and as such will have access to the @settings instance variable ################################################### def release_filename - File.join( @settings[:path_to_revision], 'maya', 'plug-ins', build_filename.pathmap('%f')) + File.join( @settings[:revision_directory], 'maya', 'plug-ins', build_filename.pathmap('%f')) end ###################################################