use correct finish variable
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								96cbb37a29
							
						
					
				
			
			
				commit
				
					
						c287d33ee3
					
				
			
		
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -49,7 +49,7 @@ echo "Checking    code  for $object ..."
 | 
			
		|||
 | 
			
		||||
if [ -f "$require" ]; then
 | 
			
		||||
   while read requirement; do
 | 
			
		||||
      echo "Requiring object $requirement for $object ..."
 | 
			
		||||
      echo "Requiring  dependency $requirement for $object ..."
 | 
			
		||||
      cdist-remote-code-run "$__cdist_out_object_dir" "$requirement"
 | 
			
		||||
   done < "$require"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			@ -59,7 +59,7 @@ if [ -e "$code" ]; then
 | 
			
		|||
      if [ -x "$code" ]; then
 | 
			
		||||
         echo "Executing   code  for $object ..."
 | 
			
		||||
         "$code"
 | 
			
		||||
         touch "$__cdist_finished"
 | 
			
		||||
         touch "$finished"
 | 
			
		||||
      else
 | 
			
		||||
         __cdist_exit_err "$code exists, but is not executable."
 | 
			
		||||
      fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue