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:
parent
d72a1ea9c6
commit
9b15480609
@ -13,6 +13,10 @@ GLUONDIR="$(pwd)"
|
|||||||
PATCHDIR="$GLUON_TMPDIR"/patching
|
PATCHDIR="$GLUON_TMPDIR"/patching
|
||||||
trap 'rm -rf "$PATCHDIR"' EXIT
|
trap 'rm -rf "$PATCHDIR"' EXIT
|
||||||
|
|
||||||
|
if [ -d "$GLUONDIR/site/patches/" ]; then
|
||||||
|
cp -r "$GLUONDIR/site/patches/" "$GLUONDIR"
|
||||||
|
fi
|
||||||
|
|
||||||
for module in $GLUON_MODULES; do
|
for module in $GLUON_MODULES; do
|
||||||
echo "--- Patching module '$module' ---"
|
echo "--- Patching module '$module' ---"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user