Skip to content

Commit

Permalink
build(linux): allows patch per arch for reh
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Nov 9, 2024
1 parent 023fee3 commit e8abb85
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions package_linux_reh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ if [[ -d "../patches/linux/reh/" ]]; then
done
fi

if [[ -d "../patches/linux/reh/${VSCODE_ARCH}/" ]]; then
for file in "../patches/linux/reh/${VSCODE_ARCH}/"*.patch; do
if [[ -f "${file}" ]]; then
echo applying patch: "${file}";
if ! git apply --ignore-whitespace "${file}"; then
echo failed to apply patch "${file}" >&2
exit 1
fi
fi
done
fi

if [[ -n "${USE_GNUPP2A}" ]]; then
INCLUDES=$(cat <<EOF
{
Expand Down

0 comments on commit e8abb85

Please sign in to comment.