fix(bin/dev): makes conditional for launching overmind POSIX-compliant (#30271)
This commit is contained in:
		
							
								
								
									
										2
									
								
								bin/dev
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								bin/dev
									
									
									
									
									
								
							@@ -6,7 +6,7 @@ export PORT="${PORT:-3000}"
 | 
				
			|||||||
# Get around our boot.rb ENV check
 | 
					# Get around our boot.rb ENV check
 | 
				
			||||||
export RAILS_ENV="${RAILS_ENV:-development}"
 | 
					export RAILS_ENV="${RAILS_ENV:-development}"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if command -v overmind &> /dev/null
 | 
					if command -v overmind 1> /dev/null 2>&1
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  overmind start -f Procfile.dev "$@"
 | 
					  overmind start -f Procfile.dev "$@"
 | 
				
			||||||
  exit $?
 | 
					  exit $?
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user