script: Fix the regression caused by cmsis dir update
This change fixes a regression cause by following change
14c45c87 script: fix hardcoded cmsis path
Although the change doesn't cause any issue and passes CI,
it has impacted functioning of scp-ci-gateway CI job
particularly for github pull requests for SCP project.
Reverting this change to avoid various CI job failures till
proper fix is found.
Change-Id: If5f093d00186bfb62508a7e6d42639bcf90eb749
Signed-off-by: Girish Pathak <girish.pathak@arm.com>
diff --git a/script/build_package.sh b/script/build_package.sh
index 26294e0..f4ea34b 100755
--- a/script/build_package.sh
+++ b/script/build_package.sh
@@ -1136,10 +1136,8 @@
pushd "$scp_root"
- eval cmsis_dir="$(git submodule status | awk 'NR==1{print $2}')"
-
# Use filer submodule as a reference if it exists
- if [ -d "$SCP_CHECKOUT_LOC/$cmsis_dir" ]; then
+ if [ -d "$SCP_CHECKOUT_LOC/cmsis" ]; then
cmsis_reference="--reference $SCP_CHECKOUT_LOC/cmsis"
fi