From a293dcabd42d32e035ab2ac05424aaafcf67baee Mon Sep 17 00:00:00 2001 From: hataejun Date: Sat, 18 Aug 2012 14:14:33 +0900 Subject: [PATCH] [Title] update lock file variable [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- src/pkg_server/distribution.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 = [] -- 2.34.1