use correct finish variable

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
remotes/origin/1.2
Nico Schottelius 14 years ago
parent 96cbb37a29
commit c287d33ee3
  1. 6
      bin/cdist-remote-code-run

@ -49,7 +49,7 @@ echo "Checking code for $object ..."
if [ -f "$require" ]; then if [ -f "$require" ]; then
while read requirement; do while read requirement; do
echo "Requiring object $requirement for $object ..." echo "Requiring dependency $requirement for $object ..."
cdist-remote-code-run "$__cdist_out_object_dir" "$requirement" cdist-remote-code-run "$__cdist_out_object_dir" "$requirement"
done < "$require" done < "$require"
fi fi
@ -57,9 +57,9 @@ fi
if [ -e "$code" ]; then if [ -e "$code" ]; then
if [ -f "$code" ]; then if [ -f "$code" ]; then
if [ -x "$code" ]; then if [ -x "$code" ]; then
echo "Executing code for $object ..." echo "Executing code for $object ..."
"$code" "$code"
touch "$__cdist_finished" touch "$finished"
else else
__cdist_exit_err "$code exists, but is not executable." __cdist_exit_err "$code exists, but is not executable."
fi fi

Loading…
Cancel
Save