only diff parameters ?

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-24 10:35:29 +01:00
parent 4d2e03b966
commit b20a50899a

View file

@ -154,7 +154,8 @@ __cdist_object_dir="$(__cdist_object_dir "$__cdist_object_self")"
if [ -e "${__cdist_object_dir}" ]; then
# Allow diff to fail
set +e
diff -ru "${__cdist_new_object_dir}" "${__cdist_object_dir}" \
diff -ru "${__cdist_new_object_dir}/${__cdist_name_parameter}" \
"${__cdist_object_dir}/${__cdist_name_parameter}" \
> "$__cdist_tmp_file"; ret=$?
set -e