From 192d4669ca1df3985f52c93230f318b38dc68ce2 Mon Sep 17 00:00:00 2001 From: Maciej Pasternacki Date: Wed, 30 Jan 2013 11:20:50 +0100 Subject: [PATCH] Typo. --- lib/chef-helpers/has_source.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chef-helpers/has_source.rb b/lib/chef-helpers/has_source.rb index dd58410..d196169 100644 --- a/lib/chef-helpers/has_source.rb +++ b/lib/chef-helpers/has_source.rb @@ -67,9 +67,9 @@ def try_sources(*sources) end sources.find do |source| if source =~ /::/ - src, ckbk = $`, $' + ckbk, src = $`, $' else - src, ckbk = source, cookbook_name + ckbk, src = cookbook_name, source end has_source?(src, segment, ckbk) end