From: hataejun Date: Sat, 18 Aug 2012 05:14:33 +0000 (+0900) Subject: [Title] update lock file variable X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a293dcabd42d32e035ab2ac05424aaafcf67baee;p=sdk%2Ftools%2Fsdk-build.git [Title] update lock file variable [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/src/pkg_server/distribution.rb b/src/pkg_server/distribution.rb index 58f293e..250d371 100644 --- a/src/pkg_server/distribution.rb +++ b/src/pkg_server/distribution.rb @@ -39,6 +39,7 @@ class Distribution ARCHIVE_PKG_FILE = "archive_pkg_list" OS_INFO_FILE = "os_info" SNAPSHOT_INFO_FILE = "snapshot.info" + LOCK_FILE = ".lock_file" def initialize( name, location, server_url, pkg_server ) @@ -47,7 +48,7 @@ class Distribution @server_url = server_url @log = pkg_server.log @integrity = pkg_server.integrity - @lock_file_name = "#{location}/.lock_file" + @lock_file_name = "#{location}/#{LOCK_FILE}" @pkg_hash_os = {} @archive_pkg_list = [] @snapshot_hash = []