From: jiil.hyoun Date: Fri, 15 Mar 2013 07:41:50 +0000 (+0900) Subject: [Title] fix wrong variable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=44f4150f3bddc4050106b748203d1c181711ca4e;p=sdk%2Ftools%2Fsdk-build.git [Title] fix wrong variable [Type] Bugfix [Module] Toolchain / [Priority] Major [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] Change-Id: I6fa649585e4c1cabcffd56acfee64daef5635165 --- diff --git a/src/pkg_server/client.rb b/src/pkg_server/client.rb index b864fe9..0f18d73 100644 --- a/src/pkg_server/client.rb +++ b/src/pkg_server/client.rb @@ -371,7 +371,7 @@ class Client private def add_file_to_cache(filepath) if filepath.nil? or filepath.empty? then return end - if not File.exist? @download_path then FileUtils.mkdir_p "#{download_path}" end + if not File.exist? @download_path then FileUtils.mkdir_p "#{@download_path}" end filename = File.basename(filepath) cachefile = File.join(@download_path, filename) @@ -385,7 +385,7 @@ class Client if not File.exist? cachefile then @log.info "Failed to move [#{filename}] to " - @log.info " [#{download_path}]" + @log.info " [#{@download_path}]" end remove_old_files_in_cache end