Skip to content

Commit

Permalink
Support creating sub-directories with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
matejskubic authored May 6, 2020
1 parent 7234720 commit 06534fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sync-Pootle.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function transferTranslations([System.IO.FileInfo[]]$files, [ValidateSet("upload
{
if (!$sftp.Exists($remoteFilename))
{
processShhCommand $ssh.RunCommand("mkdir --parents $remoteDir")
processShhCommand $ssh.RunCommand("mkdir --parents ""$remoteDir""")
}
$file = $fi.OpenRead()
$sftp.UploadFile($file, $remoteFilename, $true)
Expand Down

0 comments on commit 06534fb

Please sign in to comment.