fix order of arguments

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
Steven Armstrong 2017-06-15 22:42:46 +02:00
parent b8fcd30a37
commit 574f36f593

View file

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
# #
# 2011-2016 Steven Armstrong (steven-cdist at armstrong.cc) # 2011-2017 Steven Armstrong (steven-cdist at armstrong.cc)
# #
# This file is part of cdist. # This file is part of cdist.
# #
@ -27,8 +27,8 @@ cdist_args=""
[ "$__debug" = "yes" ] && cdist_args="-d" [ "$__debug" = "yes" ] && cdist_args="-d"
cat << DONE cat << DONE
cdist $cdist_args \ cdist config \
config \ $cdist_args \
--remote-exec="$remote_exec $chroot" \ --remote-exec="$remote_exec $chroot" \
--remote-copy="$remote_copy $chroot" \ --remote-copy="$remote_copy $chroot" \
$__target_host $__target_host