forked from ungleich-public/cdist
		
	adjust type linking script
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
This commit is contained in:
		
					parent
					
						
							
								cbb34de1b2
							
						
					
				
			
			
				commit
				
					
						e0bdcea78b
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								build
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								build
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -78,8 +78,8 @@ case "$1" in
 | 
			
		|||
    ;;
 | 
			
		||||
 | 
			
		||||
    mantype)
 | 
			
		||||
        for mansrc in conf/type/*/man.text; do
 | 
			
		||||
            dst="$(echo $mansrc | sed -e 's;conf/;cdist-;'  -e 's;/;;' -e 's;/man;;' -e 's;^;docs/man/man7/;')"
 | 
			
		||||
        for mansrc in cdist/conf/type/*/man.text; do
 | 
			
		||||
            dst="$(echo $mansrc | sed -e 's;cdist/conf/;cdist-;'  -e 's;/;;' -e 's;/man;;' -e 's;^;docs/man/man7/;')"
 | 
			
		||||
            ln -sf "../../../$mansrc" "$dst"
 | 
			
		||||
        done
 | 
			
		||||
    ;;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue