Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for parser (0.31 sec)

  1. common/scripts/setup_env.sh

    # This function will properly handle any type of path including those with spaces using the
    # loading pattern specified by *kubectl config*.
    #
    # testcase: "a:b c:d"
    # testcase: "a b:c d:e f"
    # testcase: "a b:c:d e"
    parse_KUBECONFIG () {
    TMPDIR=""
    if [[ "$1" =~ ([^:]*):(.*) ]]; then
      while true; do
        rematch=${BASH_REMATCH[1]}
        add_KUBECONFIG_if_exists "$rematch"
        remainder="${BASH_REMATCH[2]}"
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  2. gradlew

            org.gradle.wrapper.GradleWrapperMain \
            "$@"
    
    # Stop when "xargs" is not available.
    if ! command -v xargs >/dev/null 2>&1
    then
        die "xargs is not available"
    fi
    
    # Use "xargs" to parse quoted args.
    #
    # With -n1 it outputs one arg per line, with the quotes and backslashes removed.
    #
    # In Bash we could simply go:
    #
    #   readarray ARGS < <( xargs -n1 <<<"$var" ) &&
    #   set -- "${ARGS[@]}" "$@"
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. ci/official/utilities/setup.sh

    set -euxo pipefail -o history -o allexport
    
    # Set TFCI_GIT_DIR, the root directory for all commands, to two directories
    # above the location of this file (setup.sh). We could also use "git rev-parse
    # --show-toplevel", but that wouldn't work for non-git repos (like if someone
    # downloaded TF as a zip archive).
    export TFCI_GIT_DIR=$(cd $(dirname "$0"); realpath ../../)
    cd "$TFCI_GIT_DIR"
    
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 00:33:34 GMT 2024
    - 5.2K bytes
    - Viewed (1)
Back to top