+* 2.0.11
+- Fixed a bug in installing dep packages of local package
+== donghee yang <donghee.yang@samsung.com> 2013-01-23
* 2.0.10
- hot fix No method error
== hyoun jiil <jiil.hyoun@samsung.com> 2013-01-23
Source : dibs
-Version :2.0.10
+Version :2.0.11
Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
Package : dibs
private
def install_local_pkg_internal(pkg_path, trace, force, repos_paths)
- file_name = File.basename(pkg_path)
- pkg_name = file_name.split('_')[0]
+ pkg_name = Utils.get_package_name_from_package_file( pkg_path )
+ pkg_os = Utils.get_os_from_package_file( pkg_path )
if not File.exist? pkg_path then
@log.error "\"#{pkg_path}\" file does not exist"
filename = File.basename(pkg_path)
ext = File.extname(filename)
if not ext.eql? ".zip" then
- @log.error "\"#{file_name}\" is not zip file. binary package file should have .zip ext"
+ @log.error "\"#{filename}\" is not zip file. binary package file should have .zip ext"
return false
end
pkg_name = filename.split("_")[0]
if trace then
install_dep_pkgs = pkg.install_dep_list
- new_pkg_os = pkg.os
+ new_pkg_os = pkg_os
install_dep_pkgs.each do |p|
# check local path first
if not repos_paths.nil? then