]> git.ozlabs.org Git - next-scripts/blobdiff - common.sh
begin to hide away the CRTL_FILE accesses
[next-scripts] / common.sh
index d4e3350ab13d5907651e6624d6d47a1e82817f67..8e9f484d13ef16939ab16216807ace2330d6c5ac 100644 (file)
--- a/common.sh
+++ b/common.sh
@@ -59,6 +59,11 @@ 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"