mirror of
				https://github.com/capistrano/capistrano
				synced 2023-03-27 23:21:18 -04:00 
			
		
		
		
	Add -p option on mkdir command
Else the `mkdir -p ${deploy_to}` fails on my system because `/var/www/` did not exist.
			
			
This commit is contained in:
		
							parent
							
								
									b418e39f74
								
							
						
					
					
						commit
						cf80bd8a31
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -322,7 +322,7 @@ access that you may or may not need depending how well your servers are setup: | |||
|     # Capistrano will use /var/www/....... where ... is the value set in | ||||
|     # :application, you can override this by setting the ':deploy_to' variable | ||||
|     root@remote $ deploy_to=/var/www/rails3-bootstrap-devise-cancan-demo | ||||
|     root@remote $ mkdir ${deploy_to} | ||||
|     root@remote $ mkdir -p ${deploy_to} | ||||
|     root@remote $ chown deploy:deploy ${deploy_to} | ||||
|     root@remote $ umask 0002 | ||||
|     root@remote $ chmod g+s ${deploy_to} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Florent Guilleux
						Florent Guilleux