Verified Commit 0c19a688 authored by Marc Vef's avatar Marc Vef
Browse files

dl_dep script: Allow multiple patch files per dependency

parent 8a2b71c9
...@@ -269,7 +269,10 @@ clonedeps() { ...@@ -269,7 +269,10 @@ clonedeps() {
# apply patch if provided # apply patch if provided
if [[ -n "${PATCH}" ]]; then if [[ -n "${PATCH}" ]]; then
[[ "$DRY_RUN" == true ]] || (cd "${SOURCE_DIR}/${FOLDER}" && git apply --verbose "${PATCH_DIR}/${PATCH}" ) for PATCH_FILE in ${PATCH}; do
echo "Applying patch '${PATCH_DIR}/${PATCH_FILE}'..."
[[ "$DRY_RUN" == true ]] || (cd "${SOURCE_DIR}/${FOLDER}" && git apply --verbose "${PATCH_DIR}/${PATCH_FILE}" )
done
fi fi
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment