use correct finish variable

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-18 01:52:00 +01:00
parent 96cbb37a29
commit c287d33ee3

View file

@ -49,7 +49,7 @@ echo "Checking code for $object ..."
if [ -f "$require" ]; then
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"
done < "$require"
fi
@ -57,9 +57,9 @@ fi
if [ -e "$code" ]; then
if [ -f "$code" ]; then
if [ -x "$code" ]; then
echo "Executing code for $object ..."
echo "Executing code for $object ..."
"$code"
touch "$__cdist_finished"
touch "$finished"
else
__cdist_exit_err "$code exists, but is not executable."
fi