From: donghyuk.yang Date: Tue, 25 Sep 2012 08:47:29 +0000 (+0900) Subject: [Title] Modified directory delimiter when executing install script on windows X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2229b6770f8ef5c39304e279dd20f7967fa39048;p=sdk%2Ftools%2Fsdk-build.git [Title] Modified directory delimiter when executing install script on windows [Type] [Module] [Priority] [Jira#] [Redmine#] [Problem] [Cause] [Solution] [TestCase] --- diff --git a/src/pkg_server/installer.rb b/src/pkg_server/installer.rb index d9582b8..5a46b83 100644 --- a/src/pkg_server/installer.rb +++ b/src/pkg_server/installer.rb @@ -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}"