Merge pull request #14930 from mholiv/enable_dollar_as_first_char_in_folder_and_userName

Modified files to use single quotes rather than double for file path.…
pull/15159/head
Matt Davis 8 years ago
commit afc82f6beb

@ -270,7 +270,7 @@ class Connection(ConnectionBase):
script_template = u'''
begin {{
$path = "{0}"
$path = '{0}'
$DebugPreference = "Continue"
$ErrorActionPreference = "Stop"

@ -52,7 +52,7 @@ class ShellModule(object):
path = '\\'.join(parts)
if path.startswith('~'):
return path
return '"%s"' % path
return '\'%s\'' % path
# powershell requires that script files end with .ps1
def get_remote_filename(self, base_name):

Loading…
Cancel
Save