__directory type does not have a destination parameter
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								ac274802de
							
						
					
				
			
			
				commit
				
					
						fb426bd412
					
				
			
		
					 1 changed files with 1 additions and 5 deletions
				
			
		| 
						 | 
					@ -21,11 +21,7 @@
 | 
				
			||||||
# Check whether file exists or not
 | 
					# Check whether file exists or not
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -f "$__object/parameter/destination" ]; then
 | 
					destination="/$__object_id"
 | 
				
			||||||
   destination="$(cat "$__object/parameter/destination")"
 | 
					 | 
				
			||||||
else
 | 
					 | 
				
			||||||
   destination="/$__object_id"
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [ -e "$destination" ]; then
 | 
					if [ -e "$destination" ]; then
 | 
				
			||||||
   echo yes
 | 
					   echo yes
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue