fix __file/gencode: use destination, not path
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								a2992f0c6e
							
						
					
				
			
			
				commit
				
					
						cea051a105
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -33,11 +33,11 @@ fi
 | 
			
		|||
 | 
			
		||||
case "$type" in
 | 
			
		||||
   directory)
 | 
			
		||||
      echo mkdir \"$path\"
 | 
			
		||||
      echo mkdir \"$destination\"
 | 
			
		||||
   ;;
 | 
			
		||||
 | 
			
		||||
   file)
 | 
			
		||||
      echo touch \"$path\"
 | 
			
		||||
      echo touch \"$destination\"
 | 
			
		||||
   ;;
 | 
			
		||||
 | 
			
		||||
   *)
 | 
			
		||||
| 
						 | 
				
			
			@ -48,5 +48,5 @@ esac
 | 
			
		|||
 | 
			
		||||
if [ -f mode ]; then
 | 
			
		||||
   mode="$(cat mode)"
 | 
			
		||||
   echo chmod \"$mode\" \"$path\"
 | 
			
		||||
   echo chmod \"$mode\" \"$destination\"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue