[Title] change dir seperator whern windows remove script
authorjiil.hyoun <jiil.hyoun@samsung.com>
Wed, 28 Nov 2012 07:43:36 +0000 (16:43 +0900)
committerjiil.hyoun <jiil.hyoun@samsung.com>
Wed, 28 Nov 2012 07:43:36 +0000 (16:43 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Major
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

Change-Id: Id8d25f4a970c7f6e90b86deb7026460112e21a26

package/changelog
package/pkginfo.manifest
src/pkg_server/installer.rb

index 02eabb99131f22c002ae7cbaa05dbd9e3ae44cd6..4ebb54c97da25d6ada0eacdb5434d15a67031e3c 100644 (file)
@@ -1,3 +1,6 @@
+* 1.2.17
+- change dir seperator when windows remove script execute
+== hyoun jiil <jiil.hyoun@samsung.com> 2012-11-28
 * 1.2.16
 - Increased communication timeout to 120sec
 == donghee yang <donghee.yang@samsung.com> 2012-11-28
index d051f1212aeee2a69212070df9492c812206472c..79057522f9e016b0c2755e80f84127dd42f291fc 100644 (file)
@@ -1,5 +1,5 @@
 Source : dibs
-Version :1.2.16
+Version :1.2.17
 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
index 4a10bb7fc92b97ff75df466ff2619914a6c7c415..dc7e4908a03e88ee9db4bf1db1c625013678fd83 100644 (file)
@@ -211,6 +211,7 @@ class FileInstaller
                if not script_file.nil? then
                        logger.info "Execute \"#{script_file}\" file"
                        if Utils.is_windows_like_os( Utils::HOST_OS ) then
+                               target_path = target_path.gsub("/","\\")
                                cmd = "set INSTALLED_PATH=\"#{target_path}\"& #{script_file}"
                        else
                                cmd = "INSTALLED_PATH=\"#{target_path}\" #{script_file}"