use posix -L in favour of longopts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								2afa0ad2fc
							
						
					
				
			
			
				commit
				
					
						46459053f4
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		
							
								
								
									
										4
									
								
								cdist/test/fixtures/remote/copy
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								cdist/test/fixtures/remote/copy
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1,7 +1,7 @@
 | 
				
			||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# 2012-2013 Nico Schottelius (nico-cdist schottelius.org)
 | 
					# 2012-2013 Nico Schottelius (nico-cdist schottelius.org)
 | 
				
			||||||
# 2013 Steven Armstrong (steven-cdist armstrong.cc)
 | 
					# 2013-2014 Steven Armstrong (steven-cdist armstrong.cc)
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# This file is part of cdist.
 | 
					# This file is part of cdist.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
| 
						 | 
					@ -20,4 +20,4 @@
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					
 | 
				
			||||||
code="$(echo "$@" | sed "s|\([[:space:]]\)$__target_host:|\1|g")"
 | 
					code="$(echo "$@" | sed "s|\([[:space:]]\)$__target_host:|\1|g")"
 | 
				
			||||||
cp --dereference $code
 | 
					cp -L $code
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue