Skip to content

Commit 2ca0c3e

Browse files
committed
Apply patches from fs root (/) to work around dangerous path warnings.
1 parent 78df5b8 commit 2ca0c3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apply-hotfixes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ if [ -d "${HOTFIXES_DIR}" ]; then
2727
echo "DEBUG: skip already applied patch: ${PATCH_NAME}"
2828
else
2929
echo "Applying patch ${PATCH_PATH}"
30-
patch -p0 < "${PATCH_PATH}" && \
30+
patch -d / -p0 < "${PATCH_PATH}" && \
3131
cp "${PATCH_PATH}" "${PATCHES_APPLIED}/"
3232
fi
3333
done

0 commit comments

Comments
 (0)