forked from ungleich-public/cdist
		
	remove grep -q, not supported on solaris, from cdist-env
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								e0520edb10
							
						
					
				
			
			
				commit
				
					
						b8a0fce4fa
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -34,7 +34,7 @@ cd "$__cdist_abs_mydir/../doc/man" | |||
| NEWMANPATH="$(pwd -P):$MANPATH" | ||||
| 
 | ||||
| # Match csh, tcsh to handle differently | ||||
| if $(echo $shell_binary | grep -q 'csh$'); then | ||||
| if [ "$(echo $shell_binary | grep 'csh$')" ]; then | ||||
|    echo setenv PATH $NEWPATH \; | ||||
|    echo setenv MANPATH $NEWMANPATH | ||||
| else | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue