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.…
This commit is contained in:
commit
afc82f6beb
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue