[Title] Modified directory delimiter when executing install script on windows
authordonghyuk.yang <donghyuk.yang@samsung.com>
Tue, 25 Sep 2012 08:47:29 +0000 (17:47 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Tue, 25 Sep 2012 08:47:29 +0000 (17:47 +0900)
[Type]
[Module]
[Priority]
[Jira#]
[Redmine#]
[Problem]
[Cause]
[Solution]
[TestCase]

src/pkg_server/installer.rb

index d9582b88fbda01d03c0ea1b3b9a6d4470aeb5488..5a46b8389964b44f596eba66272ebf8a93601666 100644 (file)
@@ -180,6 +180,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}"