X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=common.sh;h=8e9f484d13ef16939ab16216807ace2330d6c5ac;hb=HEAD;hp=7eaa48620e0214885854a542a612c7e113c5f317;hpb=ed16f8131507c00a058568fc1d34169262ae40a4;p=next-scripts diff --git a/common.sh b/common.sh index 7eaa486..8e9f484 100644 --- a/common.sh +++ b/common.sh @@ -54,6 +54,16 @@ get_contacts() awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $1; }' $CTRL_FILE } +get_url() +{ + awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $4; }' $CTRL_FILE +} + +get_build_flag() +{ + awk -F '\t' '/^[^#]/ && $3=="'"$1"'" { print $6; }' $CTRL_FILE +} + check_unmerged_files() { local tree="$1"