Dependency calculation was only being done partially as the list of
fedora source packages was incomplete. After examination of the log I
saw:
+ echo 'ocaml-pcre2: package is not checked out locally'
ocaml-pcre2: package is not checked out locally
+ exit 1
For some reason this did not cause the function (and goals) to exit.
Is it a bug in goals? Anyway make the error more prominent at least.
elif [ -f $pkg/%fedora-branch/dead.package ]; then
echo "WARNING: $pkg: is a dead package, ignored" >&2
else
- echo "$pkg: package is not checked out locally" >&2
+ echo "ERROR: $pkg: package is not checked out locally" >&2
+ # This does NOT exit the script, why???
exit 1
fi
done