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:
9e13f16
)
[title] Fixed bug about file lock in build-cli
author
Sungmin kim
<dev.sungmin.kim@samsung.com>
Fri, 29 Mar 2013 13:30:54 +0000
(22:30 +0900)
committer
Sungmin kim
<dev.sungmin.kim@samsung.com>
Fri, 29 Mar 2013 13:30:54 +0000
(22:30 +0900)
build-cli
patch
|
blob
|
history
diff --git
a/build-cli
b/build-cli
index 36b6578a6230180fedb723ab822a220402fe4f9b..5714cd1a6298849e942d80285b06856146730e6c 100755
(executable)
--- a/
build-cli
+++ b/
build-cli
@@
-329,7
+329,7
@@
begin
result = JobLog.monitor(addr[0], addr[1], option[:job].strip) do |line,status,errmsg|
log.puts line
- if flock.eql? "ON" then
+ if
not output.nil? and
flock.eql? "ON" then
log.flock(File::LOCK_UN)
flock = "OFF"
end
@@
-352,6
+352,7
@@
begin
end
if not result then
+ puts "Fail query-log #{option[:job]}."
FileUtils.rm output if not output.nil?
exit(1)
end