Skip to content

Commit

Permalink
fix: ci: optimize "Check for missing files" judgment logic
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed May 21, 2024
1 parent 83fec00 commit 7fdf0f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
do
OVERLAY_NAME="$(basename "$i")"
OVERLAY_NAME="${OVERLAY_NAME/.dts}.dtbo"
if ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}/Makefile" >/dev/null 2>/dev/null && ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}"/*.mak >/dev/null 2>/dev/null;
if ! grep "$OVERLAY_NAME" "${OVERLAY_PATH}/Makefile" "${OVERLAY_PATH}"/*.mak >/dev/null 2>/dev/null
then
echo "$OVERLAY_NAME is not included in $VENDOR Makefile!"
MISSING=1
Expand Down

0 comments on commit 7fdf0f0

Please sign in to comment.