begin to differentiate local and remote object code generation

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-19 22:15:54 +01:00
commit 1af34c74b8
3 changed files with 5 additions and 2 deletions

View file

@ -23,11 +23,12 @@
#
. cdist-config
[ $# -eq 2 ] || __cdist_usage "<target host>" "<object>"
[ $# -eq 2 ] || __cdist_usage "<target host>" "<object>" "<remote|local>"
set -eu
__cdist_target_host="$1"; shift
__cdist_object="$1"; shift
__cdist_gencode_type="$1"; shift
__cdist_object_dir="$(__cdist_object_dir "$__cdist_object")"
__cdist_type="$(__cdist_type_from_object "$__cdist_object")"