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:
Matthias Schiffer 2016-03-26 00:00:35 +01:00
parent 33d028783f
commit d5f5ce74e8
3 changed files with 5 additions and 0 deletions

View File

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

View File

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

View File

@ -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}