Skip to content
Snippets Groups Projects
Select Git revision
  • 16648ce242abd2626360fc901fbc732fcf648fc5
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

update.sh

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    update.sh 497 B
    #!/bin/bash
    
    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}
    	eval commit=\${${var}_COMMIT}
    
    	mkdir -p "$GLUONDIR"/$module
    	cd "$GLUONDIR"/$module
    	git init
    	git config commit.gpgsign false
    
    	if ! git branch -f base $commit 2>/dev/null; then
    		git fetch $repo $branch
    		git branch -f base $commit 2>/dev/null
    	fi
    done