Skip to content
Snippets Groups Projects
Commit 441ebb5c authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Set B2G_PATCH_DIRS in the env for existing consumers"

parents 1a2b8ee7 e44805ae
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,12 @@ B2G_TREEID_SH=${B2G_TREEID_SH:-device/qcom/b2g_common/treeid.sh}
B2G_HASHED_FILES="${B2G_HASHED_FILES:-"device/qcom/b2g_common/vendorsetup.sh ${B2G_TREEID_SH}"}"
REPO="${REPO:-repo}"
# Look for patch trees
B2G_PATCH_DIRS=$(LANG=C sort -u <( \
test -d device && find -L device -maxdepth 4 -type d -name patch ; \
test -d vendor && find -L vendor -maxdepth 4 -type d -name patch \
) 2> /dev/null)
__tree_md5sum()
{
(
......@@ -72,13 +78,6 @@ __patch_tree()
cd $(gettop)
local TREE_ID=${B2G_TREE_ID:-$(${B2G_TREEID_SH})}
local B2G_PATCH_DIRS=$( \
LANG=C sort -u <( \
test -d device && find -L device -maxdepth 4 -type d -name patch ; \
test -d vendor && find -L vendor -maxdepth 4 -type d -name patch \
) 2> /dev/null \
)
echo "Tree IDs: ${TREE_ID}"
echo "Patch directories: "
for d in ${B2G_PATCH_DIRS}; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment