Skip to content
Snippets Groups Projects
Select Git revision
  • 7537464262d47ef99b17b5664a452c91e18c0982
  • 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
41 results

patch.sh

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    get-gluon-branch.sh 652 B
    #!/bin/bash
    
    set -eu
    set -o pipefail
    
    # autoupdater
    # ====
    #
    # This script prints the name of the autoupdater branch depending on the build
    # configuration. Its output is suitable for use as the GLUON_BRANCH build
    # variable of gluon.
    #
    # The idea is to take whatever comes in the GLUON_BRANCH build variable,
    # except when this value is not one of the well-known branch names; then fall
    # back to 'nightly'.
    
    default_gluon_branch_name="nightly"
    
    case "${GLUON_BRANCH:-}" in
        "nightly" | "beta" | "stable")
            gluon_branch="$GLUON_BRANCH"
            ;;
        *):
            gluon_branch="$default_gluon_branch_name"
            ;;
    esac
    
    echo $gluon_branch