Skip to content

Commit 2a6c031

Browse files
kostyanf14YanVugenfirer
authored andcommitted
RHELMISC-19957: Return Windows style path in install driver
Signed-off-by: Kostiantyn Kostiuk <[email protected]>
1 parent 5ee2363 commit 2a6c031

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rtoolsHCK.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,8 @@ def do_install_machine_driver_package(machine,
13501350
force_install_cert = options[:force_install_cert]
13511351
sys_file = options[:sys_file]
13521352

1353-
r_directory = do_upload_to_machine(machine, l_directory)
1354-
windows_path = "#{r_directory}/#{inf_file}".tr('/', '\\')
1353+
r_directory = do_upload_to_machine(machine, l_directory).tr('/', '\\')
1354+
windows_path = "#{r_directory}\\#{inf_file}"
13551355
install_certificate(machine, windows_path, sys_file) if install_method.eql?('PNP') || force_install_cert
13561356
machine_run(machine, install_driver_command(r_directory, windows_path, install_method, custom_cmd))
13571357

0 commit comments

Comments
 (0)