Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Hafner (0.63 sec)

  1. common/scripts/kind_provisioner.sh

      local delay=5
      while true; do
        "$@" && break
        if [[ $n -lt $max ]]; then
          ((n++))
          log "Command failed. Attempt $n/$max:"
          sleep $delay;
        else
          log "The command has failed after $n attempts."  >&2
          return 2
        fi
      done
    }
    
    # load_cluster_topology function reads cluster configuration topology file and
    # sets up environment variables used by other functions. So this should be called
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  2. common/scripts/fix_copyright_banner.sh

    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 17 04:35:57 GMT 2022
    - 1.3K bytes
    - Viewed (0)
Back to top