diff --git a/bin/cdist-remote-code-run b/bin/cdist-remote-code-run index a4958897..2db9d0e7 100755 --- a/bin/cdist-remote-code-run +++ b/bin/cdist-remote-code-run @@ -45,7 +45,7 @@ echo "Checking code for $object ..." if [ -f "$require" ]; then while read requirement; do echo "Running dependency $requirement for $object ..." - cdist-remote-code-run "$__cdist_out_object_dir" "$object" + cdist-remote-code-run "$__cdist_out_object_dir" "$requirement" done < "$require" fi