lib/cany/dpkg/builder.rb in cany-0.1.1 vs lib/cany/dpkg/builder.rb in cany-0.1.2

- old
+ new

@@ -16,10 +16,10 @@ # @param [String] build_step_name The name of the dpkg build step (clean, build, binary) def run(build_step_name) spec.system_recipe = DebHelperRecipe.new spec spec.setup_recipes spec.system_recipe.exec 'dh_prep' if build_step_name.to_s == 'binary' - spec.recipes.first.send build_step_name.to_s + spec.recipes.first.send build_step_name.gsub('binary-arch', 'binary').to_s end end end end