update scripts/patch.sh

with this changes it is possible to apply site defined patches during the build process when calling "make update"
This commit is contained in:
Johannes Rudolph 2017-07-04 22:15:35 +02:00 committed by GitHub
parent d72a1ea9c6
commit 9b15480609

View File

@ -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' ---"