build: add module separators/headings to patch/update/update-patches scripts
Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
This commit is contained in:
parent
6a7363d9c5
commit
6903503181
@ -6,6 +6,8 @@ shopt -s nullglob
|
||||
. "$GLUONDIR"/scripts/modules.sh
|
||||
|
||||
for module in $GLUON_MODULES; do
|
||||
echo "--- Patching module '$module' ---"
|
||||
|
||||
cd "$GLUONDIR"/$module
|
||||
git checkout -B patching base
|
||||
|
||||
|
@ -6,6 +6,8 @@ shopt -s nullglob
|
||||
. "$GLUONDIR"/scripts/modules.sh
|
||||
|
||||
for module in $GLUON_MODULES; do
|
||||
echo "--- Updating patches for module '$module' ---"
|
||||
|
||||
rm -f "$GLUONDIR"/patches/$module/*.patch
|
||||
mkdir -p "$GLUONDIR"/patches/$module
|
||||
|
||||
|
@ -5,6 +5,7 @@ set -e
|
||||
. "$GLUONDIR"/scripts/modules.sh
|
||||
|
||||
for module in $GLUON_MODULES; do
|
||||
echo "--- Updating module '$module' ---"
|
||||
var=$(echo $module | tr '[:lower:]/' '[:upper:]_')
|
||||
eval repo=\${${var}_REPO}
|
||||
eval branch=\${${var}_BRANCH}
|
||||
|
Loading…
Reference in New Issue
Block a user