[Title] update lock file variable
authorhataejun <taejun.ha@samsung.com>
Sat, 18 Aug 2012 05:14:33 +0000 (14:14 +0900)
committerhataejun <taejun.ha@samsung.com>
Sat, 18 Aug 2012 05:14:33 +0000 (14:14 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

src/pkg_server/distribution.rb

index 58f293e43834892bc9f1312417b060a8617aabbc..250d371588d8b83dd830e01a0282076f8afea42e 100644 (file)
@@ -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 = []