Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for PWD (0.04 sec)

  1. src/cmd/dist/exec.go

    package main
    
    import (
    	"os/exec"
    	"strings"
    )
    
    // setDir sets cmd.Dir to dir, and also adds PWD=dir to cmd's environment.
    func setDir(cmd *exec.Cmd, dir string) {
    	cmd.Dir = dir
    	if cmd.Env != nil {
    		// os/exec won't set PWD automatically.
    		setEnv(cmd, "PWD", dir)
    	}
    }
    
    // setEnv sets cmd.Env so that key = value.
    func setEnv(cmd *exec.Cmd, key, value string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
  2. buildscripts/resolve-right-versions.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    set -e
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function start_minio_5drive() {
    	start_port=$1
    
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 16 14:51:33 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. buildscripts/rewrite-old-new.sh

    #!/bin/bash -e
    
    set -E
    set -o pipefail
    set -x
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO_OLD=("$PWD/minio.RELEASE.2020-10-28T08-16-50Z" --config-dir "$MINIO_CONFIG_DIR" server)
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    function download_old_release() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. hack/update-go-workspace.sh

    # This script generates go.work so that it includes all Go packages
    # in this repo, with a few exceptions.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    # Go tools really don't like it if you have a symlink in `pwd`.
    cd "$(pwd -P)"
    
    KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    # This sets up the environment, like GOCACHE, which keeps the worktree cleaner.
    kube::golang::setup_env
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 10 15:44:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. buildscripts/verify-healing-empty-erasure-set.sh

    #!/bin/bash -e
    #
    
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    
    function start_minio_3_node() {
    	export MINIO_ROOT_USER=minio
    	export MINIO_ROOT_PASSWORD=minio123
    	export MINIO_ERASURE_SET_DRIVE_COUNT=6
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:48:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. test/linkobj.go

    // Test the compiler -linkobj flag.
    
    package main
    
    import (
    	"fmt"
    	"io/ioutil"
    	"log"
    	"os"
    	"os/exec"
    	"strings"
    )
    
    var pwd, tmpdir string
    
    func main() {
    	dir, err := ioutil.TempDir("", "go-test-linkobj-")
    	if err != nil {
    		log.Fatal(err)
    	}
    	pwd, err = os.Getwd()
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := os.Chdir(dir); err != nil {
    		os.RemoveAll(dir)
    		log.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  7. tools/certs/Makefile.k8s.mk

    ##fetch-root-ca:	fetch root CA  and key from a k8s cluster.
    .PHONY: fetch-root-ca
    rawcluster := $(shell kubectl config current-context)
    cluster := $(subst /,-,$(rawcluster))
    pwd := $(shell pwd)
    export KUBECONFIG
    
    fetch-root-ca:
    	@echo "fetching root ca from k8s cluster: "$(cluster)""
    	@mkdir -p $(pwd)/$(cluster)
    	@res=$$(kubectl get secret istio-ca-secret -n $(ISTIO_NAMESPACE) >/dev/null 2>&1; echo $$?); \
    	if [ $$res -eq 1 ]; then \
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 27 13:15:29 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  8. buildscripts/verify-healing.sh

    #!/bin/bash -e
    #
    
    set -E
    set -o pipefail
    
    if [ ! -x "$PWD/minio" ]; then
    	echo "minio executable binary not found in current directory"
    	exit 1
    fi
    
    WORK_DIR="$PWD/.verify-$RANDOM"
    MINIO_CONFIG_DIR="$WORK_DIR/.minio"
    MINIO=("$PWD/minio" --config-dir "$MINIO_CONFIG_DIR" server)
    GOPATH=/tmp/gopath
    
    function start_minio_3_node() {
    	for i in $(seq 1 3); do
    		rm "${WORK_DIR}/dist-minio-server$i.log"
    	done
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. hack/lib/protoc.sh

    # Short-circuit if protoc.sh has already been sourced
    [[ $(type -t kube::protoc::loaded) == function ]] && return 0
    
    # The root of the build/dist directory
    KUBE_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd -P)"
    source "${KUBE_ROOT}/hack/lib/init.sh"
    
    PROTOC_VERSION=23.4
    
    # Generates $1/api.pb.go from the protobuf file $1/api.proto
    # and formats it correctly
    # $1: Full path to the directory where the api.proto file is
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 20:53:13 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/telemetry/npm

    #!/bin/bash
    # Copyright 2022 The Go Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style
    # license that can be found in the LICENSE file.
    
    docker run \
      --rm \
      --volume $(pwd):/workspace \
      --workdir /workspace \
      --env NODE_OPTIONS="--dns-result-order=ipv4first" \
      --entrypoint npm \
      node:18.16.0-slim \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:57:25 UTC 2024
    - 349 bytes
    - Viewed (0)
Back to top