Skip to content

Commit

Permalink
Fix workflow for no extra patches
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny-mnemonic committed Nov 18, 2024
1 parent bc31537 commit 4a575e0
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/make-sandwich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,8 @@ jobs:
PATH=${MODPATH}
cd ${BUILD_DIR}
BASE_COMMIT_ID_SHORT=$( git rev-parse --short HEAD )
for patch in ${TOOLS_DIR}/patches/standard/*patch; do
patch -p1 < ${patch}
done
for patch in ${TOOLS_DIR}/patches/extra/*patch; do
patch -p1 < ${patch}
for patch in ${TOOLS_DIR}/patches/standard/*patch ${TOOLS_DIR}/patches/extra/*patch; do
[[ -e ${patch} ]] && patch -p1 < ${patch}
done
# build ##############################################################
cd "${TOOLS_DIR}"
Expand Down

0 comments on commit 4a575e0

Please sign in to comment.