export NEXT_GCC_PPCLE_VERSION="$gcc_ppcle_version"
export NEXT_J_FACTOR="$j_factor"
+# Support functions
+get_contacts()
+{
+ awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $1; }' $CTRL_FILE
+}
+
true
log=$LOG_FILE
[ -f merge.log ] && log=merge.log
-control=$CTRL_FILE
-[ -f control ] && control=control
branch=""
[ "$1" = "-t" ] && {
branch=${branch%%/*}
}
-contact=$(awk -F ' ' '$3=="'"$branch"'" { print $1; }' $control)
+contact=$(get_contacts "$branch")
greeting=${contact%% *}
greeting=${greeting#\"}
[ "${contact%,*}" = "${contact}" ] || greeting="all"