From: donghee yang Date: Wed, 17 Oct 2012 05:18:14 +0000 (+0900) Subject: [Title] Fixed "download" problem X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d73cb26aaa0cc701c5ce4939243e6287d271fe53;p=sdk%2Ftools%2Fsdk-build.git [Title] Fixed "download" problem --- diff --git a/src/pkg_server/downloader.rb b/src/pkg_server/downloader.rb index 1443e83..ab4758f 100644 --- a/src/pkg_server/downloader.rb +++ b/src/pkg_server/downloader.rb @@ -46,7 +46,7 @@ class FileDownLoader logger.info "Downloading #{url}" if is_remote then pid,status = Utils.execute_shell_with_log( "wget #{url} -O #{fullpath} -nv --tries=3", logger.path ) - ret = (not status.nil? and status.exitstatus) != 0 ? false : true + ret = (not status.nil? and status.exitstatus != 0) ? false : true #ret = Utils.execute_shell( "wget #{url} -O #{fullpath} -q") else if not File.exist? url then