Add simple protection against double inclusion of the shared sh files.
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
. shell-error
+if [ -z "${__included_aiaiai_sh_functions-}" ]; then
+__included_aiaiai_sh_functions=1
+
# Print a separator line to stdout
print_separator()
{
{
leave_second "$(strip_first "$1")"
}
+
+fi #__included_aiaiai_sh_functions
. shell-ini-config
. shell-quote
+if [ -z "${__included_aiaiai_email_sh_functions-}" ]; then
+__included_aiaiai_email_sh_functions=1
+
# All patches we deal with have to have the following prefix
prefix_format="[Prefix PATCH Suffix <m/n>]"
$cfg_signature
EOF
}
+
+fi #__included_aiaiai_email_sh_functions