Newer
Older
. scripts/modules.sh
GLUONDIR="$(pwd)"
for module in $GLUON_MODULES; do

Matthias Schiffer
committed
echo "--- Updating module '$module' ---"
var=$(echo "$module" | tr '[:lower:]/' '[:upper:]_')
mkdir -p "$GLUONDIR/$module"
cd "$GLUONDIR/$module"
if ! git branch -f base "$commit" 2>/dev/null; then
git fetch "$repo" "$branch"
git branch -f base "$commit" 2>/dev/null
fi