Skip to content
Snippets Groups Projects
Commit d5f5ce74 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

build: add module separators/headings to patch/update/update-patches scripts

parent 33d02878
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ shopt -s nullglob ...@@ -6,6 +6,8 @@ shopt -s nullglob
. "$GLUONDIR"/scripts/modules.sh . "$GLUONDIR"/scripts/modules.sh
for module in $GLUON_MODULES; do for module in $GLUON_MODULES; do
echo "--- Patching module '$module' ---"
cd "$GLUONDIR"/$module cd "$GLUONDIR"/$module
git checkout -B patching base git checkout -B patching base
......
...@@ -6,6 +6,8 @@ shopt -s nullglob ...@@ -6,6 +6,8 @@ shopt -s nullglob
. "$GLUONDIR"/scripts/modules.sh . "$GLUONDIR"/scripts/modules.sh
for module in $GLUON_MODULES; do for module in $GLUON_MODULES; do
echo "--- Updating patches for module '$module' ---"
rm -f "$GLUONDIR"/patches/$module/*.patch rm -f "$GLUONDIR"/patches/$module/*.patch
mkdir -p "$GLUONDIR"/patches/$module mkdir -p "$GLUONDIR"/patches/$module
......
...@@ -5,6 +5,7 @@ set -e ...@@ -5,6 +5,7 @@ set -e
. "$GLUONDIR"/scripts/modules.sh . "$GLUONDIR"/scripts/modules.sh
for module in $GLUON_MODULES; do for module in $GLUON_MODULES; do
echo "--- Updating module '$module' ---"
var=$(echo $module | tr '[:lower:]/' '[:upper:]_') var=$(echo $module | tr '[:lower:]/' '[:upper:]_')
eval repo=\${${var}_REPO} eval repo=\${${var}_REPO}
eval branch=\${${var}_BRANCH} eval branch=\${${var}_BRANCH}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment