Commit 5cf747e2 authored by Vishal Bhoj's avatar Vishal Bhoj
Browse files

soong_failure: shopt isn't working inside the if loop



but this works outside the if loop
Signed-off-by: Vishal Bhoj's avatarVishal Bhoj <vishal.bhoj@linaro.org>
parent 796bfead
......@@ -4,8 +4,9 @@ MANIFEST_BRANCH="${MANIFEST_BRANCH:-morello/mainline}"
TC_URL=${TC_URL:-}
# soong_ui.bash gets messed up identifying top level dir for soong. Removing all files except artifacts
# from previous stage
shopt -s extglob
if [ "${CI_PROJECT_NAME}" = "soong" ]; then
shopt -s extglob; rm -rf !(output)
rm -rf !(output)
fi
install_custom_toolchain()
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment