projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28a4d1d
)
[Title] Fixed "download" problem
author
donghee yang
<donghee.yang@samsung.com>
Wed, 17 Oct 2012 05:18:14 +0000
(14:18 +0900)
committer
donghee yang
<donghee.yang@samsung.com>
Wed, 17 Oct 2012 05:18:14 +0000
(14:18 +0900)
src/pkg_server/downloader.rb
patch
|
blob
|
history
diff --git
a/src/pkg_server/downloader.rb
b/src/pkg_server/downloader.rb
index 1443e83969a490830eb416a046bb3c7338d6f8e6..ab4758f283e17c997d8491ec865b4e4a9b7ea516 100644
(file)
--- 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