Added filter for TARGETHOME, needed for man pages that include an include-file
This commit is contained in:
		
							parent
							
								
									404d86d544
								
							
						
					
					
						commit
						87d67255d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -15,4 +15,4 @@ if [ -f $2/man/head ] ; then : ; else cat > $2/man/head <<'EOF'
 | 
			
		|||
EOF
 | 
			
		||||
fi
 | 
			
		||||
if [ -d $2/man/man$num ] ; then : ; else mkdir $2/man/man$num ; fi
 | 
			
		||||
cat $2/man/head $1 > $2/man/man$num/`expr //$1 : '.*/\([^/]*\)'`
 | 
			
		||||
cat $2/man/head $1  | sed "s!TARGETHOME!$2!" > $2/man/man$num/`expr //$1 : '.*/\([^/]*\)'`
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue