Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 140 for PWD (0.06 sec)

  1. hack/lib/init.sh

      (
        if [[ -d "${1}" ]]; then # This also catch symlinks to dirs.
          cd "${1}"
          pwd -P
        else
          cd "$(dirname "${1}")"
          local f
          f=$(basename "${1}")
          if [[ -L "${f}" ]]; then
            readlink "${f}"
          else
            echo "$(pwd -P)/${f}"
          fi
        fi
      )
    }
    
    # This emulates "realpath" which is not available on MacOS X
    # Test:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 16:18:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. prow/release-test.sh

    #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    #   See the License for the specific language governing permissions and
    #   limitations under the License.
    
    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    ROOT=$(dirname "$WD")
    
    set -eux
    
    DRY_RUN=true "${ROOT}"/prow/release-commit.sh || {
      tools/dump-docker-logs.sh
      exit 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 11 20:58:15 UTC 2022
    - 768 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/chdir.txt

    env OLD=$PWD
    
    # basic -C functionality
    cd $GOROOT/src/math
    go list -C ../strings
    stdout strings
    ! go list -C ../nonexist
    stderr 'chdir.*nonexist'
    
    # check for -C in subcommands with custom flag parsing
    # cmd/go/chdir_test.go handles the normal ones more directly.
    
    # go doc
    go doc -C ../strings HasPrefix
    
    # go env
    go env -C $OLD/custom GOMOD
    stdout 'custom[\\/]go.mod'
    ! go env -C ../nonexist
    stderr '^go: chdir ../nonexist: '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 19:23:42 UTC 2023
    - 744 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/toolexec.txt

    # Don't check the entire output at once, because the order in which the tools
    # are run is irrelevant here.
    # Finally, note that asm and cgo are run twice.
    
    go build -toolexec=$PWD/mytool
    [GOARCH:amd64] stderr -count=2 '^asm'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withasm"$'
    stderr -count=1 '^compile'${GOEXE}' TOOLEXEC_IMPORTPATH="test/main/withasm"$'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 3.8K bytes
    - Viewed (0)
  5. test/escape_slice.go

    	return [1]*int(x)
    }
    
    func envForDir(dir string) []string { // ERROR "dir does not escape"
    	env := os.Environ()
    	return mergeEnvLists([]string{"PWD=" + dir}, env) // ERROR ".PWD=. \+ dir escapes to heap" "\[\]string{...} does not escape"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:50:24 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  6. bin/build_ztunnel.sh

      # BUILD_ZTUNNEL=1 with no BUILD_ZTUNNEL_REPO tries to infer BUILD_ZTUNNEL_REPO
      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then
        local ZTUNNEL_DIR
    	ZTUNNEL_DIR="$(pwd)/../ztunnel"
        if [[ -d "${ZTUNNEL_DIR}" ]]; then
          BUILD_ZTUNNEL_REPO="${ZTUNNEL_DIR}"
        else
          echo "No directory at ${ZTUNNEL_DIR}"
          return
        fi
      fi
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 21:46:06 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/hack/verify-codegen.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    SCRIPT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
    DIFFROOT="${SCRIPT_ROOT}/pkg"
    TMP_DIFFROOT="$(mktemp -d -t "$(basename "$0").XXXXXX")/pkg"
    
    cleanup() {
      rm -rf "${TMP_DIFFROOT}"
    }
    trap "cleanup" EXIT SIGINT
    
    cleanup
    
    mkdir -p "${TMP_DIFFROOT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 05 23:05:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  8. bin/check_samples.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    shopt -s globstar
    set -e
    
    SCRIPTPATH=$( cd "$(dirname "$0")" && pwd -P )
    ROOTDIR=$SCRIPTPATH/..
    cd "$ROOTDIR" || exit
    
    # rely on go build cache
    ISTIOCTL=bin/istioctl
    go build -o $ISTIOCTL ./istioctl/cmd/istioctl
    
    for f in samples/**/*.yaml; do
      if grep -q -e "{{" "$f" ; then
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 1010 bytes
    - Viewed (0)
  9. test-site/activator

        TARGET_FILEPATH=
      else
        TARGET_FILEPATH=/$TARGET_FILE
      fi
    
      # make sure we grab the actual windows path, instead of cygwin's path.
      if ! is_cygwin; then
        echo "$(pwd -P)/$TARGET_FILE"
      else
        echo $(cygwinpath "$(pwd -P)/$TARGET_FILE")
      fi
    )
    }
    
    # TODO - Do we need to detect msys?
    
    # Uses uname to detect if we're in the odd cygwin environment.
    is_cygwin() {
      local os=$(uname -s)
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 9.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/hack/verify-codegen.sh

    # See the License for the specific language governing permissions and
    # limitations under the License.
    
    set -o errexit
    set -o nounset
    set -o pipefail
    
    SCRIPT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)"
    DIFFROOT="${SCRIPT_ROOT}/pkg"
    TMP_DIFFROOT="$(mktemp -d -t "$(basename "$0").XXXXXX")/pkg"
    
    cleanup() {
      rm -rf "${TMP_DIFFROOT}"
    }
    trap "cleanup" EXIT SIGINT
    
    cleanup
    
    mkdir -p "${TMP_DIFFROOT}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 05 23:05:26 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top