Signed-off-by: Hugo Villeneuve <hugo@hugovil.com>
-if [ x"${cc_list}" = x"" ]; then
- echo "Missing cc_list shell variable"
- exit 1
-fi
-
if [ x"${base_branch}" = x"" ]; then
echo "Missing base_branch shell variable"
exit 1
if [ x"${base_branch}" = x"" ]; then
echo "Missing base_branch shell variable"
exit 1
add_cc_list_addresses()
{
add_cc_list_addresses()
{
+ if [ x"${cc_list}" = x"" ]; then
+ return
+ fi
+
for address in ${cc_list}; do
CC_OPTS="${CC_OPTS} --cc ${address}"
done
for address in ${cc_list}; do
CC_OPTS="${CC_OPTS} --cc ${address}"
done