call new name in requirement block
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
c7ccedd463
commit
6800bbff10
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
. cdist-config
|
. cdist-config
|
||||||
[ $# -eq 3 ] || __cdist_usage "<object dir> <object> <type>"
|
[ $# -eq 3 ] || __cdist_usage "<object dir> <object> <type>"
|
||||||
set -ue
|
set -uex
|
||||||
|
|
||||||
# This variable MUST be exactly like this - see __cdist_object_dir
|
# This variable MUST be exactly like this - see __cdist_object_dir
|
||||||
__cdist_out_object_dir="$1"; shift
|
__cdist_out_object_dir="$1"; shift
|
||||||
|
@ -50,7 +50,7 @@ echo "Checking code-${__cdist_gencode_type} for $object ..."
|
||||||
if [ -f "$require" ]; then
|
if [ -f "$require" ]; then
|
||||||
while read requirement; do
|
while read requirement; do
|
||||||
echo "Requiring dependency $requirement for $object ..."
|
echo "Requiring dependency $requirement for $object ..."
|
||||||
cdist-remote-code-run "$__cdist_out_object_dir" "$requirement"
|
cdist-code-run "$__cdist_out_object_dir" "$requirement" "$__cdist_gencode_type"
|
||||||
done < "$require"
|
done < "$require"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue