use posix -L in favour of longopts

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2014-02-13 21:02:18 +01:00
parent 2afa0ad2fc
commit 46459053f4

View file

@ -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