From 9b15480609b89313c58703b968857a8ee6c5a6d9 Mon Sep 17 00:00:00 2001 From: Johannes Rudolph Date: Tue, 4 Jul 2017 22:15:35 +0200 Subject: [PATCH] update scripts/patch.sh with this changes it is possible to apply site defined patches during the build process when calling "make update" --- scripts/patch.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/patch.sh b/scripts/patch.sh index 61d5f455..d7b5be97 100755 --- a/scripts/patch.sh +++ b/scripts/patch.sh @@ -13,6 +13,10 @@ GLUONDIR="$(pwd)" PATCHDIR="$GLUON_TMPDIR"/patching trap 'rm -rf "$PATCHDIR"' EXIT +if [ -d "$GLUONDIR/site/patches/" ]; then + cp -r "$GLUONDIR/site/patches/" "$GLUONDIR" +fi + for module in $GLUON_MODULES; do echo "--- Patching module '$module' ---"