Fix quoting bug for paths with spaces
This commit is contained in:
		
							parent
							
								
									90e5133995
								
							
						
					
					
						commit
						6f0b1318d5
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -112,7 +112,7 @@ def put(local_path, remote_path, owner='root:root', **kwargs): | |||
|         kwargs.setdefault('mirror_local_mode', True) | ||||
|     kwargs['use_sudo'] = True | ||||
|     fab_put(local_path, remote_path, **kwargs) | ||||
|     sudo('chown {0} {1}'.format(owner, remote_path)) | ||||
|     sudo("chown {} '{}'".format(owner, remote_path)) | ||||
| 
 | ||||
| 
 | ||||
| def upload_template(local_path, remote_path, owner='root:root', **kwargs): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar