This patch is a little clean-up which makes the code a bit more consistent. It
makes sure we first check if the user specified the project, and only then try
to parse project configuration, not vice-versa.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
verbose "Project \"$prj\""
-# Fetch project configuration
-parse_prj_config "$cfgfile" "$prj"
-
# Reject the e-mail if the project has not been specified
if [ -z "$prj" ]; then
to=
exit 0
fi
+# Fetch project configuration
+parse_prj_config "$cfgfile" "$prj"
+
# Check if we have this project in our config file
if [ -z "$cfg_name" ]; then
to=