check for correct entry on move, not parameter ;-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
0f2eeda838
commit
6f02112aeb
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ while [ "$__cdist_new_objects_created" = "y" ]; do
|
||||||
${__cdist_name_require} \
|
${__cdist_name_require} \
|
||||||
; do
|
; do
|
||||||
|
|
||||||
if [ -e "${__cdist_new_object_dir}/${__cdist_name_parameter}" ]; then
|
if [ -e "${__cdist_new_object_dir}/${__cdist_object_file}" ]; then
|
||||||
mv "${__cdist_new_object_dir}/${__cdist_object_file}" \
|
mv "${__cdist_new_object_dir}/${__cdist_object_file}" \
|
||||||
"$__cdist_object_dir"
|
"$__cdist_object_dir"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue